VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: TerminateProcess(½ø³ÌÓëÏß³Ì)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:42:15 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Sat Apr 8 00:53:29 2000) WWW-POST
TerminateProcess
VBÉùÃ÷
Declare Function TerminateProcess Lib "kernel32" Alias "TerminateProcess"
(ByVal hProcess As Long, ByVal uExitCode As Long) As Long
˵Ã÷
½áÊøÒ»¸ö½ø³Ì
ÔÚVBÀïʹÓÃ
¿ÉÒÔʹÓ㬵«¾¡Á¿²»ÓÃ
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hProcess Long£¬Ö¸¶¨ÒªÖжϵÄÒ»¸ö½ø³ÌµÄ¾ä±ú
uExitCode Long£¬½ø³ÌµÄÒ»¸öÍ˳ö´úÂë
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: blo0m.bbs@smth.org]
--
¡ù תÔØ:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: 202.118.247.254]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.848ºÁÃë