delphiÈçºÎµ÷ÓÃdllÎļþÖеÄexe
Çë½Ì¸÷·¸ßÊÖ¡£ÎäÁÖÇ°±²¡£ÎÒ½«B.EXE×ö³É×ÊÔ´Îļþ£¬È»ºó¼Óµ½123.dllÖС£ÓÃA.EXEÀ´µ÷ÓÃ123.dllÖеÄB.EXE
Çë¸÷λǰ±²°ïæָ½ÌÏ¡£A.exeÈçºÎÀ´µ÷ÓÃdllÖеÄexe£¿´úÂëÓÖ¸ÃÈçºÎд£¿
ÎÞÈ˻شð£¿
×ö³É×ÊÔ´Îļþ£¿ÎÊʲôҪÕâô×öÄØ£¿
ËäÈ»²»Ì«Àí½âLZΪʲôѡÔñÕâÖÖ·½Ê½£¬µ«ÊÇ¿ÉÒÔÕâÑù×öÊÔÊÔ¿´£º
1¡¢ÔÚ123.dllÖе¼³öÒ»¸öº¯Êý£¬¸Ãº¯ÊýÔÚ±»µ÷ÓõÄʱºò°´Ãû³Æ¶ÔÖ¸¶¨µÄ×ÊÔ´½øÐвéÕÒ£¬²¢½«¸Ã×ÊԴдµ½Ò»¸öLZÈÏΪ±È½ÏºÏÊʵÄλÖ㬾ßÌåµÄAPI¼Ç²»Çå³þÁË£¬Óкü¸¸ö£¬ÆäÖÐÒ»¸öºÃÏñÊÇFindResource¡£
2¡¢Í¨¹ý123.dll»òÕßA.exeµ÷ÓÃCreateProcess
3¡¢Èç¹ûÖ´ÐйýºóÐèÒª°ÑÄǸö×ÊÔ´EXEÎļþɾµôµÄ»°£¬ÔòÇåÀíÖ®¡£
Ïà¹ØÎÊ´ð£º
ºÙºÙ£¬ÓÖÀ´Âé·³¸÷λ´óÅ£ÁË£¡ÎÒÏëÁ˽âÎÒÔÚ´úÂëµÄʼþÊôÐÔÀïÃæ¿´²»µ½ÓÐʲôʼþ£¬»¹ÓÐÔÚʱ¼ä¿Ø¼þÀïÃæµÄEnabledµÄÊôÐÔÊÇFalse£¬ÕâÏÂÃÉÁË£¬²»ÖªµÀ³ÌÐòÔËÐÐÖ®ºóÖ´ÐеÄÊÇÄÇÌõÃüÁϣÍû¸÷λ´óÅ£´Í½ÌÀ²£¡
лл£¡
ÎÒÕâÏ ......
Çë½Ì¸÷·¸ßÊÖ¡£ÎäÁÖÇ°±²¡£ÎÒ½«B.EXE×ö³É×ÊÔ´Îļþ£¬È»ºó¼Óµ½123.dllÖС£ÓÃA.EXEÀ´µ÷ÓÃ123.dllÖеÄB.EXE
Çë¸÷λǰ±²°ïæָ½ÌÏ¡£A.exeÈçºÎÀ´µ÷ÓÃdllÖеÄexe£¿´úÂëÓÖ¸ÃÈçºÎд£¿
ÏÈ°Ñb.exe»¹Ô³öÀ´ÔÚµ÷Óã¬Ó¦¸ÃÊÇ× ......
Delphi(Pascal) code:
procedure Tpaigon.N2Click(Sender: TObject);
var
j,col:integer;
filename:string;
MSExcel,xlsheet,xlBook:Variant; //ole ComObj
begin
IF DBGrid1.Fields[0].AsString=' ......
Delphi 3Äê ÔÚÉϺ£Ò»¸öÔÂÄÜÄöàÉÙ
£¨½Ó´¥¹ýµÄ¶¼ÊÇСÏîÄ¿ ´óÏîĿûÔõô×ö¹ý£©
»¹ÊÇ¿´¹«Ë¾°É¡£¡£
mark
ͬÑùÒ»Ì×·¿×Ó£¬ÎÒͬÊÂ̸14K/㎡£¬ÎÒ̸ÁË15K/㎡¡£
½á¹û²îÁË10W£¬ÎÒ¶à»ñÀûÁ ......