ÔÙ̸Delphi vs VC++(·Ç³£¾«²Ê) (ת)
żȻÀ´ÕÒÒ»¸öÎļþ£¬È´·¢ÏÖÕâÀï¹ØÓÚvc++ºÍDelphiµÄÌÖÂÛºÜÊǼ¤ÁÒ¡£¿´ÁË´ó¼ÒдµÄһЩ
ÎÄÕ£¬¾õµÃÓÐЩ¿´·¨ÕýÈ·£¬ÓÐЩ¾ÍºÜÆ«ÆÄÉõÖÁ´íÎó(Ò²ÐíÎÞÖª£¿ºÜ±§Ç¸ÎÒÕâÑù˵:-)¡£ÎÒ
ÎÞÒâÓëÈκÎÈËÕùÂÛ£¬¸üÔ¸Òâ°ÑÕâ¿´³ÉÊǼ¼ÊõÉϵÄÌÖÂÛ¡£Ó¦¸Ã±¾×Ź«Õý£¬²»´øÆ«¼ûµÄ̬¶È
(Õâ²¢²»Òâζ×Å·ÇҪƽ·ÖÇïÉ«£¬Ò»ÇÐÓ¦ÒÔÊÂʵΪ׼)¡£ÎÒÓùý³ýtp1ÒÔÍâµÄËùÓа汾µÄ
turbo pascal£¬ËùÓа汾µÄturbo c/borland c++£¬ËùÓа汾µÄdelphiºÍc++ builder£»
ÒÔ¼°msc 5.0/6.0£¬msc/c++ 7.0ºÍvisual c++ 4.2/5.0¡£²»¸Ò˵Óжà¸ßµÄˮƽ£¬ÖÁÉÙÒ²
ËãÓÐÒ»µã¾Ñé°É¡£ÏÂÃæ¾Í̸һÏÂÎҵĿ´·¨¡£
1. ±àÒëÆ÷
Ó¦¸Ã˵borlandµÄ±àÒëÆ÷ÊÇ×îºÃµÄ¡£ÒòΪborlandÓÐÈ«ÊÀ½ç×îºÃµÄ±àÒëÆ÷¿ª·¢×é(ËäÈ»
anders hejlsbergÀ뿪ÁË)¡£´Ó¼¼ÊõÉÏÀ´½²£¬borlandÁìÏÈÈκξºÕù¶ÔÊÖÖÁÉÙ2~3Äê¡£Ò»
°ãÀ´Ëµ£¬borlandµÄ±àÒëÆ÷×ÜÊÇÄÜÉú³É¸üСµÄ´úÂë²¢ÇÒͨ³£(²¢²»ÊÇÔÚÈκÎÇé¿öÏÂ)¸ü¿ì
µÄ´úÂë¡£
×ÏÔÆÓ¢¡¢ÔøµÇ¸ßÔÚÎÄÕÂÖÐ˵vc++±àÒëµÄ³ÌÐòС£¬ÕâÆäʵÊÇʹÓÃÁ˶¯Ì¬Á¬½ÓµÄ½á¹û¡£m$°Ñ
vc++µÄÔËÐпâ(msvcrt*.dll, msvcp*.dll, mfc*.dll, Äã¿´¿´ÕâЩÎļþ¼ÓÔÚÒ»ÆðÓжà´ó)
ÔÚ°²×°windowsʱ¾Í·ÅÔÚÁËsystem/system32Ŀ¼ÖÐÁË¡£Á½Î»Ëµ“ÐÉ̽ӿڔµÄÎÊÌ⣬¿Ö
ÅÂÊǶÔijЩӢÎÄÎÄÕµÄÀí½â´íÎó¡£m$¾ÍÊDz»Ô¸ÒâÔÚwindowsÖдøÉÏÆäËû¹«Ë¾µÄÔËÐÐÎļþ£¬
ûÓм¼ÊõÉϵÄÔÒò¡£
Æäʵdelphi/c++ builder²»ÂÛÔÚ¶¯Ì¬Á¬½Ó»ò¾²Ì¬Á¬½ÓµÄÇé¿öÏ£¬Éú³ÉµÄ³ÌÐò¶¼Òª±È
vc++µÄС¡£±ÈÈçmdiµÄÀý×Ó³ÌÐò£ºÔÚdelphi/c++ builderÖÐÑ¡new ... | projects |
mdi application£¬ÔÚvc++ÖÐÓÃmdi app wizard£»Éú³ÉµÄ³ÌÐò¹¦ÄÜÊǷdz£ÀàËƵġ£
ÏÂÃæÊDZȽϽá¹û£º
(delphi´ò¿ªÓÅ»¯£¬c++ builderʹÓÃ×î´óËÙ¶ÈÓÅ»¯£¬vc++ 5ʹÓÃ×îС´úÂëÓÅ»¯)
delphi 3 delphi 5 c++ builder 5 vc++ 5
dynamic link 21k 35k 44k 70k
static link 253k 398k 467k 490k
·²ÊÇʹÓÃÁËÓ¦ÓÃÀà¿âµÄ³ÌÐò(²»¹ÜÊÇmfc£¬owl£¬vclÒÔ¼°ÐµÄclx¿ò¼Ü)¶¼Òª±È²»Ê¹ÓõĴó
²»ÉÙ¡£ÕâÊÇÒòΪĿǰµÄÖÇÄÜÁ¬½Ó(smart link)¼¼Êõ»¹Ö»ÄÜÕë¶ÔÈ«¾Ö±äÁ¿/¹ý³Ì£¬¶ø²»ÄÜ
ÓÃÓÚ¶ÔÏó½á¹¹¡£ÄÄÅÂÄãֻʹÓÃÁËij¸öÀà(»ò±»Õâ¸öÀà¼ä½ÓÒýÓÃ)µÄÒ»¸öÊôÐÔ»ò·½·¨£¬Õâ¸ö
ÀàÒÔ¼°ËüËùÒýÓõÄËùÓÐÀ඼ȫ²¿±»Á¬½Óµ½exeÖС£Ä¿Ç°ËùÓеıàÒëÆ÷¶¼Ã»Óнâ¾öÕâ¸öÎÊ
Ìâ¡£
(ps: ÆäʵÄÜÉú³É×îС´úÂë(Õæ±àÒë)µÄ¸ß¼¶ÓïÑÔ±àÒëÆ÷ÊÇturbo pascal£¬²»ÐÅÄãд³ÌÐò
±È½Ïһϣº
program
Ïà¹ØÎĵµ£º
ϵͳ»·¾³£ºWindows 7
Èí¼þ»·¾³£ºVisual C++ 2008 SP1 +SQL Server 2005
±¾´ÎÄ¿µÄ£º±àдһ¸öº½¿Õ¹ÜÀíϵͳ
ÕâÊÇÊý¾Ý¿â¿Î³ÌÉè¼ÆµÄ³É¹û£¬ËäÈ»³É¼¨²»¼Ñ£¬µ«ÊÇ×÷ΪÎÒÓÃVC++ ÒÔÀ´±àдµÄ×î´ó³ÌÐò»¹ÊÇ´«µ½ÍøÉÏ£¬ÒÔ¹©²Î¿¼¡£ÓÃVC++ ×öÊý¾Ý¿âÉè¼Æ²¢²»ÈÝÒ×£¬µ«Ò²²»ÊDz»¿ÉÄÜ¡£ÒÔÏÂÊÇÎҵijÌÐò½çÃ棬ºóÃæ ......
¼¼Êõ½»Á÷,DH½²½â. ½ñÌì½øÈëÕâÊéµÚ¶þÕ ¹³×Ó(HOOK).
ÏÈ˵˵¹³×ÓÊÇʲô?
¹³×ÓÆäʵ¾ÍÔÚÄã»·¾³ÖмÓÉÏÒ»²ã¹ýÂË,ÔÚÌØÊâÇé¿öϾʹ¥·¢¹³×ӻص÷º¯Êý.
±ÈÈç˵ÎÒÃÇ°²×°ÁËÈ«¾ÖµÄ¼üÅ̹³×Ó,ÄÇôµ±ÎÒÃÇ°´¶¯¼üÅÌÉÏÃæµÄ¼üµÄʱºò,¹³×ӵĻص÷º¯Êý¾Í»á´¥·¢.
ÎÒÃÇÒ²ÄÜ¿´µ½±¾À´ÊÇÖ±À´Ö±ÍùµÄ,½á¹ûÏÖÔÚÖм䰲װÁËÒ»²ã¹ýÂË,Ï ......
×÷ÕߣºÍõæ©æ©,»ªÇåÔ¶¼ûǶÈëʽѧԺ½²Ê¦¡£
ÔÚǶÈëʽ¿ª·¢ÖУ¬×÷Ϊµ×²ã¿ª·¢Õߣ¬¸ü¿´ÖصÄÊÇCÓïÑԵıà³ÌÄÜÁ¦£¬µ«×÷ΪӦÓóÌÐòµÄ¿ª·¢Õߣ¬ÎÒÏëѧϰC++»¹ÊÇÓбØÒªµÄ¡£ÄãÖ»ÓÐÔÚÁ˽âÁË£Ã++µÄÌØÐÔ£¬´Ó±¾ÖÊÉÏ¿´µ½ËüÓëCµÄÇø±ð²ÅÄܼᶨÄãÈÏʶѧϰËüµÄ¾öÐÄ¡£ÎÒ²»ÊÇר¼Ò£¬µ«ÊÇ´ÓÎÒѧϰµÄÀú³ÌÉÏÀ´¿´£¬Ñ§Ï°£Ã£«£«»¹ÊÇÓÐÐèÒªµÄ£¬²»ÂÛÄã×ö£Ñ£Ô ......
ÔÎÄ£ºhttp://blog.csdn.net/jackyvan/archive/2010/01/15/5193693.aspx
ÆäʵVIMÒ²ÄܰѱàÒë µ÷ÊÔ¼¯³ÉÔÚÒ»Æð£¬ÏñÊÇÒ»¸öIDEÒ»Ñù¡£
Ê×ÏÈÏÖÔÚVIMµÄÔ´Â룬ÒòΪҪ¼¯³Éµ÷ÊÔ»·¾³µÄ»°ÐèÒªÖØбàÒëVIM²ÅÐУ¬ËùÒÔÎÒÃDz»ÈçÖØа²×°Ò»¸ö¡£
VIMµÄÏÖÔÚµØÖ·£º
http://www.vim.org/sources.php
È»ºóÏÂÔØVIMGDB£¬ÕâÊÇvimµÄ¼¯³Éµ÷ÊÔ»·¾³µÄ ......
Ç°ÃæһƪÎÒÃǽéÉÜÁ˽ṹÌ壬ÕâƪÖÕÓÚÄܹ»½éÉܺ¯ÊýÁË¡£ÎªÊ²Ã´Õâô˵ÄØ£¿ÒòΪº¯Êý·Ç³£ÖØÒª¡£¾ÍÕâô¼òµ¥¡£ºÙºÙ£¡Ö®ËùÒÔÔÚÕâʱ²Å½²º¯Êý£¬ÊÇÒòΪ±¾Æª½«ÁªÏµµ½Ç°ÃæµÄÿһƪ£¬ÕâÑùº¯Êý²ÅÄÜÌåÏÖµÄ͸³¹¡£ÄÇÎÒÃǾÍÆȲ»¼°´ýµÄÇÐÈëÕýÌâ¡£
´ÓµÚһƪHelloworld¿ªÊ¼µ½ÏÖÔÚ£¬¾ÍûÓÐÍÑÀ뺯Êý¡£ÄǾÍÊÇÎÒÃǵÄmainº¯Êý¡£mainº¯ÊýÒ²ÊÇÒ»¸öÆÕͨµÄ ......