使えばWin8でShareを起動できる
P.P.S.
` #include <windows.h><br></br><br></br> STARTUPINFO si;<br></br> PROCESS_INFORMATION pi;<br></br> void patch(int addr, int byte)<br></br> {<br></br> WriteProcessMemory(pi.hProcess,(void*)addr,&byte,1,NULL);<br></br> }<br></br><br></br> int start()<br></br> {<br></br> si.cb = sizeof(si);<br></br> CreateProcess(NULL,"Share.exe",NULL,NULL,FALSE,CREATE_SUSPENDED,NULL,NULL,&si,&pi);<br></br> patch(0x0049B523,0xEB);<br></br> patch(0x0049D1B8,0xEB);<br></br> patch(0x0049B4B4,0xEB);<br></br> patch(0x004b06b9,0x00);<br></br> patch(0x004b06c4,0xEB);<br></br> patch(0x0049B225,0x00);<br></br> patch(0x0049B236,0xEB);<br></br> patch(0x004b0743,0xEB);<br></br> patch(0x004b0785,0xEB);<br></br> patch(0x004b0821,0xEB);<br></br> DWORD pmask, smask;<br></br> GetProcessAffinityMask(pi.hProcess,&pmask,&smask);<br></br> SetProcessAffinityMask(pi.hProcess,1);<br></br> ResumeThread(pi.hThread);<br></br> Sleep(10000);<br></br> SetProcessAffinityMask(pi.hProcess,pmask);<br></br> return 0;<br></br> }`
P.P.P.S.
`//allow multiple instances<br></br>patch(0x004b0727,0x00);<br></br>patch(0x004b0738,0x00);<br></br>patch(0x004b076E,0x00);<br></br>patch(0x004b077A,0x00);<br></br>patch(0x004b097a,0xEB);<br></br><br></br>//allow operation behind NAT (DL will not work anyway, only upload will)<br></br>patch(0x00507815,0xEB);`
alternative launcher
<http://wels.s100.xrea.com/share.html>
Comments - 0