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

Delphi 2010 PChar µÄÆæ¹ÖÏÖÏó

¡¡MessageBox(0,PChar('L'),PChar('LL'),0);

½á¹û£ºPChar('LL') ÏÔʾ¡¡£¬µ«PChar('L') ²»ÏÔʾ£®


var
  p1, p2: PChar;
begin
  p1 := PChar('L');
  p2 := PChar('LL');
  MessageBox(0, p1, p2, 0);
end;

½«ppÌí¼Óµ½watch list¡¡£¬·¢ÏÖ¡¡p1=''(Òì³£)¡¡£¬p2='LL'£¨Õý³££©;

ÒÉ»óµÄ½áÂÛ£º¶ÔÓÚ³¤¶ÈΪ£±µÄ×Ö·û´®£¬ÓÃpcharÇ¿ÖÆ×ª»»£¬»á³ö´í£¿£¿£¿



¸Ä³ÉÕâÑùÊÔÊÔ£º
var 
  p1, p2: PChar; 
begin 
  p1 := 'L'; 
  p2 := 'LL'; 
  MessageBox(0, p1, p2, 0); 
end; 

ÕâÑùÖ±½Ó¸³Delphi»á×Ô¶¯×ª³ÉpcharµÄ£¬²»ÓÃ×Ô¼ºÇ¿ÖÆ×ª»»¡£ÖÁÉÙÄÇÑùΪʲôֻÓÐÒ»¸ö×Ö³ö´íÎÒÒ²²»Çå³þ

ûÓÐÓùý2010£¬µ«¾Ý˵2010µÄpcharÏ൱ÓÚD7µÄpwidechar
Äã¿ÉÒÔÊÔÊÔ½«p1,p2¶¨ÒåΪpansichar

Ö§³ÖwzwcnµÄ˵·¨£¬Ö±½Ó¸³ÖµÊÇ»áÉêÇëÄÚ´æµÄ¡£

×øµÈ¸ßÈË˵·¨¡«¡«¡«


to£ºwzwcn

Èç¹ûÕâÑùÄØ£º
procedure My_Msg(pTitle,pText:PChar);
begin
 MessageBox(0, pText, pTitle, 0);
end;

var 
  p1, p2: PChar; 
begin 
  p1 := 'L'; 
  p2 := 'LL'; 
  
  My_Msg(PChar('LL'),PChar('L')); //³ö´í£® ÕâÑù¶à¼ò½à£¬µ«»á³ö´í£®²»°ì·¨Ö»ÄÜÓÃp1,p2À´±äͨ£®
¡¡My_Msg(p2,p1);¡¡// ÕýÈ·£¬µ«啰࣬Ҫ¶îÍâÉêÇë±äÁ¿£®
 
end;

ÕâÑù¿ÉÒÔ°¡£º
My_Msg('LL','L');  


Ïà¹ØÎÊ´ð£º

delphi ±¾µØ×°ÔØÇý¶¯ - Delphi / Windows SDK/API

delphi ÊÖ¶¯×°ÔØÇý¶¯ÎļþÌáʾ£º
RROR (1058): The driver is marked as disabled (Start=4) in its service database entry.
ÊDz»ÊÇÕâ¸öÇý¶¯±ØÐèÒªÓÃINFÀ´°²×°¡£¡£ÓÃ×Ô´øµÄINFÀ´×°ÊÇÕý³£µÄ¡£ÓÃÊÖ¶¯×°ÔؾÍÌáʾÈçÉÏ¡ ......

Ç¿ÁÒ½¨ÒéDELPHI°æ¸ü»»´ó°æ - Delphi / ·Ç¼¼ÊõÇø

hongqi162¡¢windindance
´Ë2È˳¤ÆÚ²»ÔÚÏߣ¬ÌرðÊÇwindindance
¸ü»»ÓÐÄÜÁ¦µÄÈËÉÏ
hongqi162»¹ÊǾ­³£ÉÏÀ´×ª×ªµÄ

ÒýÓÃ
¸ü»»ÓÐÄÜÁ¦µÄÈËÉÏ
ÆäʵҲ²»ÊÇʲôÄÜÁ¦µÄÔ­Òò£¬Ö÷Òª¿ÉÄÜÊÇʱ¼äÎÊÌâ°É
¹¤×÷µÄ»¹ÒªÉÏ°à£¬Ñ§Ï ......

delphiµÄdll×Ó´°ÌåÎÊÌâµÄ½â¾ö - Delphi / ·Ç¼¼ÊõÇø

Ò»Ö±ÏëʹÓÃdll£¬µ«delphiµÄdll×Ó´°Ìå¾­³£Óи÷ÖÖÎÊÌ⣬±ÈÈçÖ÷´°¿ÚÓëdll×Ó´°¿ÚµÄ½¹µãÎÊÌ⣬×Ó´°¿ÚÖпؼþµÄtab¼ü¡¢Èȼü¡¢enter¼üµÈµÄÎÊÌ⣬×Ó´°¿ÚÍ˳öµÄÎÊÌâ¡¢Æ½Ãæ°´Å¥ÎÊÌâµÈµÈ£¬ÍøÕ¾ÉϽøÐÐÁËËÑË÷£¬Ã»ÓбȽÏÍêÃÀµÄ½â¾ö· ......

delphi ÊÓÆµÊÇ·ñ¿ÉÒÔת»»³ÉXML¸ñʽ£¿

ûѧ¹ýDELPHI¡£¡£ÒòΪҪά»¤Ò»¸ödelphiµÄÏîÄ¿£¬´ó¼Ò°ï°ïæ
 ½«±¾µØÊÓÆµÔÚÍøÂçÉÏ´«ËÍ¡£¡£Óõ½µÄÊÇsocket¡£¡£  
ÏëÎÊÏ ¿ÉÒÔ½«ÊÓÆµ×ª»»³ÉʲôÑùµÄ¸ñʽ¡£¡£
µ±È»¿ÉÒÔ¡£±ÈÈç°ÑÊÓÆµÁ÷ת³ÉÊ®Áù½øÖÆÔÙдµ ......

delphiÈçºÎ±¸·ÝorcalÊý¾Ý¿â£¿ - Delphi / Êý¾Ý¿âÏà¹Ø

³ÌÐòʹÓõÄÊÇOrcalÊý¾Ý¿â£¬Ï붨ÆÚ£¨Ã¿¼¾¶È£©¶ÔÊý¾Ý¿â½øÐб¸·Ý£¬Ã»É¶Í·Ð÷£¬ÇëÎÊÓ¦¸ÃÔõôŪ£¿
ÓÐÊ²Ã´ÌØÊâÒªÇóÂ𣬱ÈÈçҪǰ¶Ë½çÃæ£¿
Ò»°ãÓÃÊý¾Ý¿â×Ô´øµÄ¡°¼Æ»®ÈÎÎñ¡±ÅäÖÃһϾ͹»ÁË

ûÓÐÊ²Ã´ÌØÊâÒªÇó¡£ÀýÈ磬ֻҪµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ