JavaScriptµ÷ÓÃC++º¯Êý
ÇëÎÊÔÚ¶Ô»°¿òÀïÄÚǶä¯ÀÀÆ÷¿Ø¼þ£¬´ïµ½¸úÍøÒ³½»»¥
Ïëͨ¹ýJavaScriptµ÷ÓÃC++º¯Êý ÐèÒªÍê³É Äļ¸¸ö²½Ö裿
Çë°´²½Öè˵Ã÷¡£
C++½«º¯Êý·Åµ½ÄÄÀï ¹© JavaScript ²éѯ²¢µ÷ÓÃÄØ£¿
ËäÈ»ÓдúÂë µ«ÊÇ ÎÒ»¹ÊÇ¿´²»¶® £¬×÷Õß·â×°ÁËCOccManager ºÍ IDispatchÀà ÕâÁ½¸öÊǸÉʲôµÄ£¿
¶øÇÒ×÷ÕßÌí¼ÓÁË Ò»Ð©½Ó¿ÚÓ³Éä ÊÇΪÁËʲôÄØ£¿
ÔÎĵØÖ·http://www.codeproject.com/KB/IP/CustomBrowser.aspx
×îºÃ½áºÏ´úÂë˵£¬×Ô¼ºÐ´µÄÒ²ÐУ¬ÄÜÈÃÎÒ¿´Ã÷°×¾Í¸ø·Ö£¬ÎÒ³õѧ»¹ºÜ±¿55
½«×Ô¼ºµÄ´úÂë·â×°µ½ActiveXÖÐ,È»ºóÓÃJSµ÷ÓÃ
jsÒ»°ãÊÇͨ¹ýIDispatch½Ó¿ÚÀ´µ÷ÓÃCOMÖеĺ¯ÊýµÄ¡£
Äã´´½¨Activex×é¼þʱ£¬ÐèÒªÉ趨һ¸öÅÉ·¢½Ó¿Ú£¬Ò²¾ÍÊÇ´ÓIDispatchÅÉÉúµÄ½Ó¿Ú£¬¼´¿É¹©vb¡¢jsÖ®ÀàµÄÓïÑÔµ÷Óá£
ÎÒ¸Õ¸Õ¿ªÊ¼Ñ§javascript»¹Ï£Íû¸ßÊÖ¶à¶àÖ¸½Ì
ActiveX×é¼þÓëJavaScript½»»¥
http://hi.baidu.com/huhe/blog/item/817a59ee1ca423f8b3fb95de.html
ÎÒÏ£Íû¿ÉÒÔ¸æËßÎÒ£¬Ï뽫C++º¯Êý½Ó¿Ú·Å½øCOMÀïIDispatch½Ó¿ÚÓ¦ÈçºÎ×ö ·Ö¼¸²½ ÿ²½¸Éʲô£¿
µÃ¿´ÄãʹÓÃʲô¹¤¾ßÀ´¿ª·¢COM×é¼þ²ÅÐС£
ʹÓÃMFC¡¢ATL¡¢C#µÈµÈ£¬²½Ö趼²»Ò»ÑùµÄ¡£
ÎÒÔÚ5Â¥¸øµÄÖ»ÊÇʹÓÃATLÀ´ÊµÏÖÓëJS½»»¥µÄ·½·¨¡£
Ïà¹ØÎÊ´ð£º
ÏëÖªµÀÿÌõÖ¸Áî»òº¯ÊýµÄϵͳÏûºÄ¡£±ÈÈçϵͳִÐÐint a=0£»µÄ¿ªÏúÊǶàÉÙ¡£ÓÐûÓÐÀàËƵÄÎĵµÖ®ÀàµÄ¡£²»ÒªºÍÎÒ˵ÓÃʲôclock()º¯ÊýÀ´²âÊÔ¡£ÎÒÏëÒªÏà¹Ø×ܽáºÃµÄÎĵµ
ÏÈ·´»ã±à,È»ºóÄÃ×ÅcpuµÄÖ¸ÁîÊÖ²á²éÿÌõÖ¸ÁîµÄʱ¼äÖÜÆÚ ......
¸ø¸öµØÖ·£¬»òÕß·¢µ½ÎÒÓÊÏäÒ²ÐÐ wrongagain98@163.com
×îºÃÊÇÊÓƵµÄ£¬²»ÊÇÊÓƵÆÕͨµÄÒ²ÐС£
Ö÷ÒªÊÇÁ½·½Ã棺
1.ÔõÑù±à¼¡¢±àÒëºÍµ÷ÊÔ³ÌÐò¡£Ï£ÍûÄÜÒ»²½²½½²Çå³þ£¬ÈçºÎ°²×°¡¢ÈçºÎÅäÖõȡ£²»Òª¾Íֻ˵¾ä¡°¾ÍÓ ......
ÇëÎʸ÷λ¸ßÊÖÈçºÎÓÃC/C++»ñµÃϵͳδ°²×°²¹¶¡
ºÃÏñºÜרҵµÄ¶«Î÷¡£¡£¡£
²é×¢²á±í
ÿ¸ö²¹¶¡Èç¹û°²×°Á˶¼»áÔÚ×¢²á±íÀïÃæµÇ¼Ç
ÇëÎÊÄܲ»ÄܸüÇåÎúЩ£¬ÎÒÏëÓÃc\c++²é³öÀ´£¬²»ºÃÒâ˼£¬ÎÒÊÇÐÂÊÖ¡£»¹ÍûÖ¸½Ì¡£Ð»
·ÖÖµ ......
ÏÖÔÚÎҵijÌÐòÔËÐÐÔÚһ̨php·þÎñÆ÷AÉÏ£¬È»ºóÕą̂php·þÎñÆ÷³ÌÐòÒª°ÑÒ»¶ÎÎÄ×Ö´«¸øB·þÎñÆ÷´¦Àíºó£¬»ñµÃ·µ»ØµÄ´¦Àí½á¹û£¬B·þÎñÆ÷ÊÇÓÃc/c++дµÄ£¬AºÍBÁ½Ì¨·þÎñÆ÷ÈçºÎÁ¼ºÃµÄͨÐŵ÷ÓÃÄØ£¬A£¬BÊÇÔÚͬһ¾ÖÓòÍøÄڵġ£Èç¹ûÊÇÓÃso ......