mfcÔõôºÍflashÖ®¼äͨѶ£¿ - C/C++ / C++ ÓïÑÔ
ÀÏʦÈÃ×ö¼òµ¥¿ªÐÄÅ©³¡µÄ·þÎñÆ÷¶ËºÍ¿Í»§¶Ë
·þÎñÆ÷¶ËÓÃMFC×ö
¿Í»§¶ËÓÃflash×ö
flashºÍmfcÖ®¼äÔõô½øÐÐÍøÂçͨѶ£¿
Ö»ÖªµÀÓиöɳÏäÏÈ¡£¡£
http://www.maoyeah.com/display.asp?boardid=3&id=54
²Î¿¼
Õâ¸ö¿´²»Ì«¶®£¬ÓÐÓÃsocketµÄÂð
http://www.huachu.com.cn/itbook/bookinfo.asp?lbbh=BD11715701 ¿´¿´Õâ±¾Êé¾ÍÖªµÀÁË¡£
ÎÒÊÇÀ´Ñ§Ï°µÄ£»
Õâ¸öºÜÐÂÏÊ£¬À´Ñ§Ï°Ï¡£
socket ¿Ï¶¨Ã»ÎÊÌâµÄ µ«ÊÇÊDz»ÊÇ¿äÕŵ㠾Íһ̨»úÆ÷ÉϵĻ° ÓÃsendmessage²»¾Í¿ÉÒÔÁËô
²»´í¡«
ÓÃsocket°¡ ÎÒÃÇÏÖÔÚ¾ÍÊÇÕâÑù
Ïà¹ØÎÊ´ð£º
ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£
²»»á.
ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ
ËÑË÷Ï£ºjni ......
´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......
ÔÚ¸ùĿ¼/libÖдæ·ÅÒ»¸ölog.c£¬log.h£¬²¢ÓÃÏÂÃæµÄÓï¾ä£º
gcc -c log.c
ar crv liblog.a log.o
±àÒë³öÒ»¸öliblog.a¾²Ì¬¿â£¬È»ºóÔÚÎļþ¼Ð£º/testfileÖд´½¨Ò»¸ötest.cºÍtestc.c£¬test.cÖÐÒýÓÃÁËtestc.cÖж¨ÒåµÄ·½·¨ ......
Ï£Íû¸ø´ó¼ÒÌṩһЩеÄ˼·.
ÎÒÃÇÔÚʹÓÃC±à³Ìʱ»áÓöµ½Ò»¸öÎÊÌ⣬±ÈÈçÍ·ÎļþµÄÒ»¸öº¯Êý°üº¬ÔÚÒ»¸ölib ÖУ¬µ«ÊÇ
ÔÚʵ¼ÊÁ¬½ÓÖÐÎÒÃDz»ÖªµÀËüÔÚÄĸö¿âÖС£Ò²Ðí¿ÉÐеÄÒ»ÖÖ°ì·¨ÊÇÖ±½ÓÉÏÍø²éѯij¸ö
º¯ÊýµÄÒÀÀµÌõ¼þ£¬Õâ¶Ô ......