delphiת»»³ÉvcµÄÎÊÌâ - VC/MFC / »ù´¡Àà
Delphi(Pascal) code:
function Test(script: pchar; enable: boolean;allocid: integer):boolean; stdcall;
//************************************
var
null:integer;
//********************************
null:=-1;
Test(pchar(memo1.text),true,@null);
ÆäÖÐ delphiµÄmemo1µÄÊôÐÔScrollbarsΪSSBoth.¿ÉÒÔ½ÓÊܶàÐÐÎı¾
55·ÖÊÇÈ«²¿µÄ·ÖÁË Çë¸÷λ´óÉñÖ¸½Ì
¶î¡£·¢´í¡£
function Test(script: pchar; enable: boolean;allocid:pinteger):boolean; stdcall;
Õâ¸öº¯Êý¶¨ÒåÓ¦¸ÃÊÇÕâÑù ×îºóÒ»¸öÊÇpinteger
pintegerÓ¦¸ÃÊÇ int*¡£
_stdcall bool Test(char* p, bool bFalg, int* pi)
ÎÒÖªµÀÄǸöº¯ÊýÔõôתÀ²- -
¹Ø¼üÊÇÏÂÃæÄǸö
Ëûmemo1¿ÉÒÔÖ±½ÓÔÚlinesÉèÖÃ×Ö·û´® µ«ÊÇVC²»ÖªµÀÔÚÄÄÉèÖà »¹ÊǵÃÓÃAPIÉèÖã¿
ÓÐÈ˰ïÏÂæÂð- -
Ïà¹ØÎÊ´ð£º
¾ÍÊÇÒ»¸ö·þÎñ¶ËºÍÒ»¸ö¿Í»§¶Ë£¬Àï±ßÓÐһЩ¹²Óõ¥Ôª £¬ÎÒÔÚ ¹¤³ÌµÄSEARCH PATHÀïÉèÖõÄ·¾¶£¬
Àï±ßÓиö½á¹¹Ì壬ÎÒÔÚ·þÎñ¶Ë´ò¿ª£¬¼ÓÁ˳ÉÔ±£¬µ«ÊÇÎÒÔÚ¿Í»§¶ËÆäËûµ¥Ôª·ÃÎʲ»µ½ÎÒмӵģ¬ÎÒÔÚ¿Í»§¶Ë´ò¿ªÄǸöµ¥Ôª£¬È·Êµ¼ÓÁ ......
delphi ÊÖ¶¯×°ÔØÇý¶¯ÎļþÌáʾ£º
RROR (1058): The driver is marked as disabled (Start=4) in its service database entry.
ÊDz»ÊÇÕâ¸öÇý¶¯±ØÐèÒªÓÃINFÀ´°²×°¡£¡£ÓÃ×Ô´øµÄINFÀ´×°ÊÇÕý³£µÄ¡£ÓÃÊÖ¶¯×°ÔؾÍÌáʾÈçÉÏ¡ ......
¶¨Òå±äÁ¿s,sqlΪstringÀàÐÍ£¬sΪº¯Êý²ÎÊý£¬sql£º='select field1 from table1 where'+s;ÔËÐÐʱs¸³ÖµÎªid>7»òÕßid<7¡¢id=7,µ«ÊÇÔËÐÐʱ×ÜÊdzö´í£¬Çë¸÷λ°ïÎÒ¸Ä´í£¬¶àл£¡
showMessage(sql)Ï¿´¿´
sql£º='sel ......
ÓÃdelphiµÄÏÖÓпؼþдÊÕ·¢Êý¾ÝµÄ²âÊÔ£¬ÔÚÁ½Ì¨»úÆ÷ÉÏÊÔ£¬½á¹ûÍøËÙÊÇ100MµÄ£¬´ø¿í×î¸ßÖ»ÄÜÓõ½30%ÖÁ50%£¬ÊDz»ÊÇÓ¦¸Ãͨ¹ýÍø¿¨Çý¶¯Ê²Ã´µÄÖ±½Ó×öÊÕ·¢Êý¾ÝµÄ´úÂ룿ÎÒÊÇÔÚÒª×öÒ»¸ö¼«ËÙÇé¿öÏÂÍøÂçÊý¾ÝÊÕ·¢³ÌÐò£¬ÄÇλÓÐ×ö¹ý»ò ......