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

delphi µ÷ÓÃ vc dll ÎÊÌâ

ÎÒµ÷ÓÃvcµÄdll£¬´«ËͽṹÌå²ÎÊý¡£vc½ÓÊܺó´ÓÄÚ´æÖп½±´³öÎÒ´«Ë͵ÄÖµ¡£×ª»»Ö®ºóÊÇÂÒÂë
À´´íµØ·½ÁË.

È¥DELPHI

ddd

ÖªµÀ´íÁË

ÓÐû¾ßÌå´úÂë°¡

//ÏòÖն˷¢ËÍÃŽû±¨¾¯ÐÅÏ¢
    function alarmSentDoor(var pDoorPara :Alley_ALARM_PARA):boolean;stdcall;external 'warnerdll.dll';
½á¹¹Ì嶨Òå
Door_ALARM_PARA = record
        cAlarmTime : array[0..MAX_ALARM_TIME_LEN] of char; //±¨¾¯Ê±¼ä
    cDoorID    : array[0..MAX_ALLEY_ID_LEN] of char;  //±¨¾¯ÃźÅ
    cCause    : array[0..MAX_ALARM_CAUSE_LEN] of char; //±¨¾¯Ô­Òò
    end;

¿´À´Ö»Äܰﶥ

ÒýÓÃ
//ÏòÖն˷¢ËÍÃŽû±¨¾¯ÐÅÏ¢
    function alarmSentDoor(var pDoorPara :Alley_ALARM_PARA):boolean;stdcall;external 'warnerdll.dll';
½á¹¹Ì嶨Òå
Door_ALARM_PARA = record
        cAlarmTime : array[0..MAX_ALARM_TIME_LEN] of char; //±¨¾¯Ê±¼ä
    cDoorID    : array[0..MAX_ALLEY_ID_LEN] of char;  //±¨¾¯ÃźÅ
    cCause    : array[0..MAX_ALARM_CAUSE_LEN] of char; //±¨¾¯Ô­Òò
    end;

¿´²»³öÄãʹÓõÄÊÇÏÔʾµ÷Óû¹ÊÇÒþʾµ÷Óã¬ÄãÄǸödllÎļþÔÚ±àÒëʱÊÇ·ñÓÐ´í£¬ÎÊÌâ¿ÉÄܳöÔÚÄǸödllÎļþÖС£

ûÓдíÎó£¬Ó¦¸ÃÊDzÎÊý´«µÝÎÊÌâ¡£¸údelphiÓëvc¶ÔÄÚ´æµÄ²Ù×÷ʲôµÄ¿ÉÄÜÓйأ¬ÎÒÊÇÕâÃ


Ïà¹ØÎÊ´ð£º

delphiÖÐexcelµ¼Èësql serverµÄÎÊÌâ¡£

'Select * into mytable from OpenDataSource(''Microsoft.JET.OLEDB.4.0'',''Data Source=f:\test.xls;Mode=Read;Extended Properties=Excel 5.0;Persist Security Info=False' ......

DelphiÓëSQLµÄÎļþ´æÈ¡ÎÊÌâ

ÇëÎÊ£º
1¡¢ÈçºÎÔÚDelphiÖУ¬°ÑÖ¸¶¨Îļþ±£´æµ½SQLÖУ¬SQL¶ÔÓ¦×Ö¶ÎÓÖÓ¦¸ÃÓÃʲôÀàÐͲűȽϺÏÊÊ£¿
2¡¢¶ÔÓÚ1²Ù×÷£¬ÈçºÎ°Ñ±£´æµ½SQLÖеÄÎļþ´ò¿ª£¿
3¡¢ÒÔÉÏÎļþÖ÷ÒªÕë¶ÔOffice£¨DOC¡¢XLSµÈ£©ÎļþÀàÐÍ£¬Í¼Æ¬£¨BMP ......

delphiÖÐACCESSµÄ×Ô¶¨Ò庯ÊýÔõôÓÃÄØ...

ÎÒÔÚÄ£¿éÀï×Ô¶¨ÒåÁËÒ»¸öº¯Êý:stradd()

¿ÉÊÇÔÚadoquery1.sql.add('select stradd(author) from book');
ʱÌáʾstradd䶨Òå...

Õâ¸öÎÊÌâÓÐʲô°ì·¨¿ÉÒÔ½â¾öµÄÂð? ·Ç³£¸Ð¼¤!


......

Çë½ÌdelphiÖÐʹÓÃaccessÊý¾Ý¿â½øÐÐÊý¾Ýµ¼ÈëµÄÎÊÌâ

Ïò¸÷λ¸ßÊÖÇóÖú¡£
ÎÒÓÃdelphi2009±àдÁËÒ»¸ö¹ÜÀíϵͳ£¬Ê¹ÓõÄÊÇaccessÊý¾Ý¿â¡£ÏÖÔÚÏëͨ¹ý¶àÈËÒ»Æð¼ÈëÊý¾Ýºó£¬½«Êý¾Ýµ¼³ö£¬µ¼³öµÄÊý¾Ý¿â°üº¬¶à¸öÏàͬµÄ±í¡£ÔÙ½«µ¼³öµÄÊý¾ÝÒÀ´Îµ¼È뵽ͬһ¸öÊý¾Ý¿âµÄÏàͬ±íÖУ¬µ¼Èë ......

תÌû£ºDELPHI±àд·þÎñ³ÌÐò×ܽáÒ»£­£­±àд¼¼ÇÉ

Ô­ÎĵØÖ·£ºhttp://hi.baidu.com/sqldebug/blog/item/8e2749213082c0589922ed61.html

Ö±½ÓÌù¹ýÀ´µÄ£¬ÓеãÂÒ£¬´ó¼Ò´ÕºÏ¿´¡£

Ò»¡¢·þÎñ³ÌÐòºÍ×ÀÃæ³ÌÐòµÄÇø±ð

Windows 2000/XP/2003µÈÖ§³ÖÒ»ÖÖ½Ð×ö¡° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ