HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2017
0429
Φ³«¤¤¤¿¥Õ¥¡¥¤¥ë¤¬ÊĤ¸¤é¤ì¤ë¤Þ¤ÇÂÔµ¡¤¹¤ëÊýË¡13²ò·è


Φ

¥ê¥ó¥¯

2017/4/29(Sat) 22:05:52|NO.79371

¡¡¤³¤ó¤Ð¤ó¤Ï¡¢¤ªÀ¤Ïäˤʤê¤Þ¤¹¡£

¡¡HSP¤«¤éShellExecute´Ø¿ô¤Ç¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ò³«¤­¡¢¤½¤ì¤¬ÊĤ¸¤é¤ì¤ë¤Þ¤ÇÂÔµ¡¤µ¤»¤ë¤è¤¦¤Ë¤·¤¿¤¤¤È»×¤Ã¤Æ¤ë¤ó¤Ç¤¹¤¬¡¢¤É¤Î¤è¤¦¤Ë¤·¤¿¤é¤è¤¤¤«¡¢¥¢¥É¥Ð¥¤¥¹¤ò失¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£
¡¡ºÇ½é¤Ï¡¢¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤¬¼èÆÀ¤Ç¤­¤ë¤«¤É¤¦¤«¤òȽÄꤷ¤Æ»î¤·¤Æ¤ß¤¿¤ó¤Ç¤¹¤¬¡¢»ä¤¬»î¤·¤¿¸Â¤ê¤À¤È¥¨¥Ç¥£¥¿¤Ï¥Õ¥¡¥¤¥ë¤ò¥í¥Ã¥¯¤·¤Ê¤¤¤è¤¦¤Ê¤Î¤Ç¡¢¤³¤ÎÊýË¡¤Ï»È¤¨¤Þ¤»¤ó¤Ç¤·¤¿¡£
¡¡ÉáÄ̤μ¹ԥե¡¥¤¥ë¤Ê¤é¡¢pipeget¤È¤«CreatProcess¤È¤«¤Î¤ä¤êÊý¤¬¤¢¤ë¤ó¤Ç¤¹¤¬¡¢¤É¤ì¤â»È¤¨¤Ê¤µ¤½¤¦¤Ç¤¹¡£
¡¡¤¢¤È¡¢¤Ç¤­¤ì¤Ð´ØÏ¢ÉÕ¤±¤µ¤ì¤¿¥¢¥×¥ê¤Çµ¯Æ°¤µ¤»¤¿¤¤¤Î¤Ç¡¢¥¨¥Ç¥£¥¿¤ò¸ÇÄꤹ¤ë¤È¤¤¤¦°Æ¤Ï¤Ê¤·¤ÎÊý¸þ¤Ç¤ª´ê¤¤¤·¤Þ¤¹¡£
¡¡¤Ê¤«¤Ê¤«Æñ¤·¤¤¤È¤Ï»×¤¤¤Þ¤¹¤¬¡¢¥¢¥É¥Ð¥¤¥¹¤ò¤¤¤¿¤À¤±¤ì¤Ð¹¬¤¤¤Ç¤¹¡£
¡¡¤½¤ì¤Ç¤Ï¡£



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


MillkeySoftw

¥ê¥ó¥¯

2017/4/29(Sat) 22:50:42|NO.79373

¤Þ¤º¡¢¤Ê¤Ë¤ò¤·¤¿¤¤¤«¶ñÂÎŪ¤Ë½ñ¤¤¤Æ¤¯¤À¤µ¤¤¡£
1.»ØÄꤵ¤ì¤¿¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ò ShellExecute ¤òÍѤ¤¤Æµ¯Æ°¤·¤¿¤¤¡£
2.µ¯Æ°¤·¤¿¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬½ªÎ»¤·¤¿»ö¤ò¸¡½Ð¤·¤¿¤¤¡£

¤Î 2ÅÀ¤À¤è¤Í¡©
ÅÓÃ椫¤é¥Õ¥¡¥¤¥ë¤Î¥í¥Ã¥¯¤À¤Î¡¢pipeexec ¤À¤Î½Ð¤Æ¤­¤Æ¤ë¤±¤É¡£¤Ê¤Ë¤ò¤·¤¿¤¤¤Î¡©



¥¹¥Ú¡¼¥¹

¥ê¥ó¥¯

2017/4/29(Sat) 23:11:00|NO.79374

¡Ö¥Õ¥¡¥¤¥ë¤ò´ØÏ¢ÉÕ¤±¤µ¤ì¤¿¥½¥Õ¥È¤Çµ¯Æ°¢ª¤½¤Î¥½¥Õ¥È¤¬½ªÎ»¤¹¤ë¤Þ¤ÇÂÔµ¡¡×
¤³¤¦¤¤¤¦¤³¤È¤Ç¤Ï¡©



Φ

¥ê¥ó¥¯

2017/4/29(Sat) 23:16:46|NO.79376

¡¡¤³¤ó¤Ð¤ó¤Ï¡¢¤ªÀ¤Ïäˤʤê¤Þ¤¹¡£

¡¡º®Í𤵤»¤Æ¤·¤Þ¤¤¡¢¤¹¤ß¤Þ¤»¤ó¡£
¡¡¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ò´ØÏ¢ÉÕ¤±¤µ¤ì¤¿¥¨¥Ç¥£¥¿¤Ç³«¤­¤¿¤¤¤ó¤Ç¤¹¤¬¡¢¥¨¥Ç¥£¥¿¤¬½ªÎ»¤µ¤ì¤ë¤Þ¤ÇÂÔµ¡¤µ¤»¤ëÊýË¡¤¬¤ï¤«¤ê¤Þ¤»¤ó¡£
¡¡´ØÏ¢ÉÕ¤±¤ò¤â¤È¤Ë³«¤¯¤Ë¤Ï¡¢ShellExecute¤äexecÌ¿Îá¤Î¥Ñ¥é¥á¡¼¥¿¤Ë16¤òÉÕ¤±¤Æ³«¤¯ÊýË¡¤¬¤¢¤ë¤³¤È¤Ï¤ï¤«¤Ã¤Æ¤¤¤ë¤ó¤Ç¤¹¤¬¡¢¤É¤Á¤é¤ÎÊýË¡¤â¥¨¥Ç¥£¥¿¤¬µ¯Æ°¤µ¤ì¤¿½Ö´Ö¤Ë¼¡¤Î½èÍý¤Ë°Ü¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
¡¡²¿¤«ÊýË¡¤¬¤¢¤ì¤Ð¶µ¤¨¤Æ¤¤¤¿¤À¤±¤ë¤È¹¬¤¤¤Ç¤¹¡£

¡¡¤³¤ó¤Ê´¶¤¸¤Ç¤¤¤¤¤Ç¤·¤ç¤¦¤«¡£
¡¡¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£¡¡



Φ

¥ê¥ó¥¯

2017/4/29(Sat) 23:18:47|NO.79377

¡¡¤³¤ó¤Ð¤ó¤Ï¡¢¤ªÀ¤Ïäˤʤê¤Þ¤¹¡£

¡¡¤¢¤¡¡¢¤Þ¤¿¤ä¤Ã¤Æ¤·¤Þ¤Ã¤¿¡Ä¡£

¡¡¥¹¥Ú¡¼¥¹¤µ¤ó¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£¤½¤¦¤¤¤¦¤³¤È¤Ç¤¹¡£



Í¥»Õ¿☯(plugin)

¥ê¥ó¥¯

2017/4/29(Sat) 23:31:30|NO.79378


#module #uselib "kernel32.dll" #func CloseHandle "CloseHandle" int #func CreateProcess "CreateProcessA" int,str,int,int,int,int,int,int,int,int #func WaitForSingleObject "WaitForSingleObject" int,int #deffunc SubprogramInit dim stinfo, 17 stinfo.0 = 68 dim prinfo, 4 return 0 #deffunc StartSubprogram str prm1 CreateProcess 0,prm1,0,0,0,0,0,0,varptr(stinfo),varptr(prinfo) return 0 #deffunc GetEndSubprogram str prm1 hProcess = prinfo.0 hThread = prinfo.1 CloseHandle hThread hThread = 0 WaitForSingleObject hProcess, 0xFFFFFFFF CloseHandle hProcess hProcess = 0 return 0 #global SubprogramInit StartSubprogram "notepad.exe" GetEndSubprogram "notepad.exe" if stat = 0 { dialog "notepad.exe¤òÊĤ¸¤Þ¤·¤¿¡£",0,"¥á¥Ã¥»¡¼¥¸" } else { dialog "¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿¡£",1,"¥á¥Ã¥»¡¼¥¸" } end

»²¹Í¤Ë¤É¤¦¤¾¡Á(^^



¥¹¥Ú¡¼¥¹

¥ê¥ó¥¯

2017/4/29(Sat) 23:44:27|NO.79379

°Ê²¼¤Î¥¹¥ì¤ÎNO.64687¤Î¥½¡¼¥¹¥³¡¼¥É¤Ç½ÐÍè¤Þ¤·¤¿¤è¡£
http://hsp.tv/play/pforum.php?mode=pastwch&num=64638



Φ

¥ê¥ó¥¯

2017/4/30(Sun) 07:08:14|NO.79382

¡¡¤³¤ó¤Ë¤Á¤Ï¡¢¤ªÀ¤Ïäˤʤê¤Þ¤¹¡£

¡¡¤È¤ê¤¢¤¨¤º¡¢¥¹¥Ú¡¼¥¹¤µ¤ó¤Ë¾Ò²ð¤·¤Æ¤¤¤¿¤À¤¤¤¿¥¢¥É¥ì¥¹Æâ¤Î²¼µ­¥½¡¼¥¹¤ò¥³¥Ô¡¼¤·¤Æ¼Â¹Ô¤·¤Æ¤ß¤¿¤ó¤Ç¤¹¤¬¡¢¥×¥í¥°¥é¥à¤Î½ªÎ»¤Þ¤ÇÂÔµ¡¤µ¤ì¤Ê¤¤¤è¤¦¤Ç¤¹¡£

----------


#uselib "kernel32.dll" #cfunc OpenProcess "OpenProcess" sptr,sptr,sptr #func GetExitCodeProcess "GetExitCodeProcess" sptr,sptr #func CloseHandle "CloseHandle" sptr #cfunc GetProcessId "GetProcessId" sptr #uselib "shell32.dll" #cfunc ShellExecuteEx "ShellExecuteExA" sptr #define SW_SHOW$00000005 #define SEE_MASK_NOCLOSEPROCESS$00000040 #define PROCESS_QUERY_INFORMATION$00000400 #define STILL_ACTIVE$00000103 #define hInstApp8 #define hProcess14 title "¥Æ¥¹¥È¥×¥í¥°¥é¥à" // ¥á¥âÄ¢¤òµ¯Æ° dim sei, 15;SHELLEXECUTEINFO ¹½Â¤ÂÎ Verb = "open" File = "notepad" sei = 60, SEE_MASK_NOCLOSEPROCESS, hwnd, varptr(Verb), varptr(File), 0, 0, SW_SHOW if ShellExecuteEx(varptr(sei)) = 0:dialog "¥Õ¥¡¥¤¥ë¤Î¥ª¡¼¥×¥ó¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£", 1, "¥¨¥é¡¼" process_handle = sei.hProcess #if 0 ; GetExitCodeProcess ¤ØÅϤ¹¥Ï¥ó¥É¥ë¤Ï PROCESS_QUERY_INFORMATION ¥¢¥¯¥»¥¹¸¢¤¬ ; ³ä¤êÅö¤Æ¤Æ¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤é¤·¤¤¤±¤É¡¢ShellExecuteEx ¤Ç¼èÆÀ¤·¤¿¥×¥í¥»¥¹¥Ï¥ó¥É¥ë¤Ç¤â ; ÌäÂê¤Ê¤¯Æ°¤¯¤«¤é¤³¤ÎÉôʬ¤ÏÍפé¤Ê¤¤¤«¤â¡© process_id = GetProcessId(process_handle) if process_id = 0:dialog "¥Õ¥¡¥¤¥ë¤Î¥ª¡¼¥×¥ó¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£", 1, "¥¨¥é¡¼" CloseHandle process_handle process_handle = OpenProcess(PROCESS_QUERY_INFORMATION, 1, process_id) if process_handle = 0:dialog "¥Õ¥¡¥¤¥ë¤Î¥ª¡¼¥×¥ó¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£", 1, "¥¨¥é¡¼" #endif // ½ªÎ»¤ò´Æ»ë repeat GetExitCodeProcess process_handle, varptr(exitcode) if exitcode ! STILL_ACTIVE { CloseHandle process_handle break } wait 50 loop dialog "½ªÎ»¤ò¸¡ÃΤ·¤Þ¤·¤¿¡£"

----------

¡¡¤Þ¤¿¡¢¾åµ­¥¢¥É¥ì¥¹Æâ¤ÎCOM¤ò»È¤Ã¤¿ÊýË¡¤â»î¤·¤Æ¤ß¤Þ¤·¤¿¤¬¡¢¼Â¹Ô¥Õ¥¡¥¤¥ë¤Î¤È¤­¤ÏÀµ¾ï¤ËÂÔµ¡¤µ¤ì¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¤È¡¢¥Ó¥¸¥å¥¢¥ëC++¤Î¥é¥ó¥¿¥¤¥à¥¨¥é¡¼¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
¡¡¤É¤Î¤è¤¦¤Ë¤¹¤ì¤Ð¤è¤¤¤«¡¢¥¢¥É¥Ð¥¤¥¹¤ò失¤ë¤È¹¬¤¤¤Ç¤¹¡£

¡¡¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£



MillkeySoftw

¥ê¥ó¥¯

2017/4/30(Sun) 10:32:12|NO.79384

¥â¥¸¥å¡¼¥ë²½¤·¤Æ¤ß¤¿¤è¡£

#module _Riku_RunBlock_ #uselib "Shell32.dll" #cfunc ShellExecuteEx "ShellExecuteExA" var #uselib "kernel32.dll" #func CloseHandle "CloseHandle" int #uselib "user32.dll" #cfunc MsgWaitForMultipleObjects "MsgWaitForMultipleObjects" int,var,int,int,int #define SEE_NOCLOSEPROCESS 0x02000040 #define SW_SHOW 0x0005 #define INFINITE 0xFFFFFFFF #define QS_ALLINPUT 0x00001CFF #deffunc ShellExecuteHSP str FileName,str Verb,str Parameters,str CurDir,int ExitFlag if ExitFlag : fMask = SEE_NOCLOSEPROCESS : else : fMask = 0 sdim StrData,260,4 StrData(0) = FileName,Verb,Parameters,CurDir dim SECInfo,15 SECInfo(0) = 60,fMask,0,varptr(StrData(1)),varptr(StrData(0)),varptr(StrData(2)),varptr(StrData(3)),5 LRESULT = ShellExecuteEx(SECInfo) if ExitFlag == 0 : return LRESULT FreeHandle = SECInfo.14 dim ObjectHandle,64 ObjectHandle(0) = SECInfo.14 repeat DWORD = MsgWaitForMultipleObjects(1,ObjectHandle,0,INFINITE,QS_ALLINPUT) if DWORD != 1 : break await 0 loop CloseHandle SECInfo.14 return #deffunc ExitFree onexit if FreeHandle != 0 : CloseHandle FreeHandle return #global //»È¤¤Êý // ShellExecuteHSP ¥Õ¥¡¥¤¥ë̾ ,¥³¥ó¥Æ¥­¥¹¥ÈÁàºî̾ ,¥³¥Þ¥ó¥É¥é¥¤¥ó¥Ñ¥é¥á¡¼¥¿¡¼ ,¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê, ÂÔµ¡¤¹¤ë¤«¤É¤¦¤« //¡¡ÂÔµ¡¤¹¤ë¤«¤É¤¦¤«¤Ï¡¢1 ¤ÇÂÔµ¡¾õÂÖ¤Ç 0 ¤Ç¨»þÉüµ¢¤Ç¤¹¡£ mes "¥Õ¥¡¥¤¥ë¤ò´ØÏ¢ÉÕ¤±¤µ¤ì¤¿¥×¥í¥»¥¹¤Ç³«¤­¡¢¥×¥í¥»¥¹½ªÎ»¤Þ¤ÇÂÔµ¡¤·¤Þ¤¹¡£" ShellExecuteHSP "Text.txt","edit","","",1 mes "¥×¥í¥»¥¹¤Î½ªÎ»¤ò¸¡½Ð¤·¤Þ¤·¤¿¡£"



Φ

¥ê¥ó¥¯

2017/4/30(Sun) 11:50:31|NO.79386

¡¡¤³¤ó¤Ë¤Á¤Ï¡¢¤ªÀ¤Ïäˤʤê¤Þ¤¹¡£

¡¡MillkeySoftw¤µ¤ó¡¢¤ï¤¶¤ï¤¶¥â¥¸¥å¡¼¥ë¤òºî¤Ã¤Æ¤¤¤¿¤À¤­¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
¡¡¤³¤ì¤Ç¡¢¤ä¤ê¤¿¤¤¤³¤È¤¬Ìµ»ö¤Ç¤­¤Þ¤·¤¿¡£
¡¡¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£



¥¹¥Ú¡¼¥¹

¥ê¥ó¥¯

2017/4/30(Sun) 12:54:09|NO.79391

¤¢¤ì¡©¤³¤Á¤é¤Î´Ä¶­¤Ç¤Ï¤³¤ì¤Ç¤Á¤ã¤ó¤ÈÆ°¤¯¤Î¤Ç¤¹¤¬¡¦¡¦¡¦

#uselib "kernel32.dll" #cfunc OpenProcess "OpenProcess" sptr,sptr,sptr #func GetExitCodeProcess "GetExitCodeProcess" sptr,sptr #func CloseHandle "CloseHandle" sptr #cfunc GetProcessId "GetProcessId" sptr #uselib "shell32.dll" #cfunc ShellExecuteEx "ShellExecuteExA" sptr #define SW_SHOW $00000005 #define SEE_MASK_NOCLOSEPROCESS $00000040 #define PROCESS_QUERY_INFORMATION $00000400 #define STILL_ACTIVE $00000103 #define hInstApp 8 #define hProcess 14 // ¥á¥âÄ¢¤òµ¯Æ° dim sei, 15 ;SHELLEXECUTEINFO ¹½Â¤ÂÎ Verb = "open" Dialog "txt",16 File = refstr sei = 60, SEE_MASK_NOCLOSEPROCESS, hwnd, varptr(Verb), varptr(File), 0, 0, SW_SHOW if ShellExecuteEx(varptr(sei)) = 0 :mes "¼ºÇÔ" process_handle = sei.hProcess #if 0 ; GetExitCodeProcess ¤ØÅϤ¹¥Ï¥ó¥É¥ë¤Ï PROCESS_QUERY_INFORMATION ¥¢¥¯¥»¥¹¸¢¤¬ ; ³ä¤êÅö¤Æ¤Æ¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤é¤·¤¤¤±¤É¡¢ShellExecuteEx ¤Ç¼èÆÀ¤·¤¿¥×¥í¥»¥¹¥Ï¥ó¥É¥ë¤Ç¤â ; ÌäÂê¤Ê¤¯Æ°¤¯¤«¤é¤³¤ÎÉôʬ¤ÏÍפé¤Ê¤¤¤«¤â? process_id = GetProcessId(process_handle) if process_id = 0 :mes "¼ºÇÔ" CloseHandle process_handle process_handle = OpenProcess(PROCESS_QUERY_INFORMATION, 1, process_id) if process_handle = 0 :mes "¼ºÇÔ" #endif // ½ªÎ»¤ò´Æ»ë repeat GetExitCodeProcess process_handle, varptr(exitcode) if exitcode ! STILL_ACTIVE { CloseHandle process_handle break } wait 50 loop mes "½ªÎ»"



¥¹¥Ú¡¼¥¹

¥ê¥ó¥¯

2017/4/30(Sun) 12:58:44|NO.79392

Φ¤µ¤ó¤¬Å½¤Ã¤¿¥½¡¼¥¹¥³¡¼¥É¤Ç¤¹¤¬¡¢#define¤Î¥¹¥Ú¡¼¥¹¤¬ºï½ü¤µ¤ìÀµ¾ï¤ËÆ°¤¤¤Æ¤¤¤Ê¤¤¤Î¤Ç¤Ï¡©

#define SW_SHOW$00000005 #define SEE_MASK_NOCLOSEPROCESS$00000040 #define PROCESS_QUERY_INFORMATION$00000400 #define STILL_ACTIVE$00000103 #define hInstApp8 #define hProcess14



~­ä☯¿(Í¥»Õ)¿☯­ä~

¥ê¥ó¥¯

2017/4/30(Sun) 14:35:43|NO.79393

°Ê²¼¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£

¢£Îɤ¤Îã

#define AAA (¶õÇò) 0x0001 #define BBB (¶õÇò) 0x0002 #define CCC (¶õÇò) 0x0003

¢£°­¤¤Îã

#define AAA0x0001 #define BBB0x0002 #define CCC0x0003

¾å¤ÎÎã¤ËÎ㤨¤ë¤È

#define ¤Ë¶õÇò¤òÆþ¤ì¤ë¤È...
£È£Ó£Ð¡ÖAAA¤È¤¤¤¦¥Þ¥¯¥í¤Ë0x0001¤òÂåÆþ¤·¤ÆÅÐÏ¿¤À!!¡×

#define ¤Ë¶õÇò¤òÆþ¤ì¤Ê¤¤¤È...
£È£Ó£Ð¡ÖAAA0x0001¤È¤¤¤¦¥Þ¥¯¥í¤òÅÐÏ¿¤À!!¡×

¤È¤¤¤¦´¶¤¸¤Ç¤¹^^;;



Φ

¥ê¥ó¥¯

2017/4/30(Sun) 15:13:48|NO.79395

¡¡¤³¤ó¤Ë¤Á¤Ï¡¢¤ªÀ¤Ïäˤʤê¤Þ¤¹¡£

¡¡¤Û¤ó¤È¤Ç¤¹¤Í¡£¥¹¥Ú¡¼¥¹¤¬Æþ¤Ã¤Æ¤Ê¤¤¤³¤È¤ËÀè¤Û¤Éµ¤¤Å¤­¤Þ¤·¤¿¡£
¡¡¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£



ONION software Copyright 1997-2023(c) All rights reserved.