Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C#ÒýÓÃFillRect

[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]
private static extern long FillRect(IntPtr hDc, Rectangle lpRect, long hBrush);

FillRect(dc, rc, brush);

ÔËÐÐʱ£¬³öÏÖÈçÏ´íÎó
δ´¦ÀíµÄ¡°System.EntryPointNotFoundException¡±ÀàÐ͵ÄÒì³£³öÏÖÔÚ GisClient.exe ÖС£

ÆäËûÐÅÏ¢: ÎÞ·¨ÔÚ DLL¡°gdi32.dll¡±ÖÐÕÒµ½ÃûΪ¡°FillRect¡±µÄÈë¿Úµã¡£




ºóÀ´¶Ô±ÈÁËһϣ¬²ÎÊýÒ²ÓÐÎÊÌ⣬ÕýÈ·µÄ¸ñʽÈçÏÂ

[System.Runtime.InteropServices.DllImportAttribute("USER32.DLL")]
private static extern long FillRect(IntPtr hDc, RECT lpRect, IntPtr hBrush); 


Ïà¹ØÎÊ´ð£º

C#µ÷Óà C DLLÎÊÌ⣬¶®µÄÀ´ÇÀ·ÖÁË

//C ½Ó¿Ú
extern "C"
{
  TESSDLL_API int __cdecl GetTessText(const char *imagefile, char *text);  
}
//ÎÒÔÚC#ÖÐÉùÃ÷
//µ÷ÓÃC DLL Öеĺ¯Êý
[DllImport("OCRapi.dll&quo ......

ÀûÓÃC#±àдtxtת»¯µ½xmlµÄ³ÌÐò

txt ºÍXML ¸ñʽÏàÓ¦
²»½èÖúDataSet
µ¼Èë¶ÁÈ¡TXTÎļþ
È»ºóÖ±½ÓдÈëXML(ͬһÎļþ,²»Í¬Êý¾Ý,µÝÔöÔ­Êý¾ÝûÓб»¸²¸ÇÇé¿öÏÂÔö¼ÓÊý¾Ý.)
½Ì¸öÒªµã»ò×îºÃÊÇÓиö´úÂëÌáʾµÄ
¹ý·ºÃºº °ï¸öæÈö^^
²»»á£¬°ïÂ¥Ö÷ ......

c# 2005²Ù×÷Access,Êý¾ÝÖ´ÐÐΪʲô²»ÄÜÁ¢¼´Íê³É£¿

ÎÒÖ´ÐÐÒ»¸öinsertºóÂíÉÏÖ´ÐÐÒ»¸öselect£¬·¢¾õÊý¾Ý»¹Ã»¼Ó½øÈ¥£¬Èç¹ûµÈ1£¬2ÃëÔÙselectµÄ»°Êý¾Ý¾ÍÓÐÁË¡£

ÄÇÎÒÓ¦¸ÃʲôʱºòÔÙselectÄØ£¿²»¿ÉÄÜÿ´Î¶¼¼Ó¸ö¶¨Ê±Æ÷À´¸ã°É£¬¶àÂé·³£¿
commit

?????????????

°ÑÄ ......

C#ÃüÁîÐвÎÊýÎÊÌâ

public class Functions
{
    public static long Factorial(int n)
    {
        if (n < 0) { return -1; }    //error result - undefined ......

c#Ôõô¶ÁÈ¡mysqlÖÐ mediumtextÀàÐ͵ÄÊý¾Ý

ÈçÌ⣺
C# code:
MySQLConnection con = new MySQLConnection( new MySQLConnectionString("localhost","beephpcms","root","root").AsString);
try
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ