1>Win32Project2.obj : error LNK2005: _DllMain@12 already defined in dllmain.obj
1>C:\Users\Syn\Documents\Visual Studio 2012\Projects\Win32Project2\Debug\Win32Project2.dl l : fatal error LNK1169: one or more multiply defined symbols found
1>Win32Project2.obj : error LNK2005: _DllMain@12 already defined in dllmain.obj
1>C:\Users\Syn\Documents\Visual Studio 2012\Projects\Win32Project2\Debug\Win32Project2.dl l : fatal error LNK1169: one or more multiply defined symbols found
I'm guessing you created a dll project with wizard instead of empty one, right? In that case you're redeclaring DllMain (the entry point) which is already in dllmain.cpp - just move the posted entry with createthread in there.
still getting nothing, ill make a video showing exactly what im doing.
Also, sleep interval is milliseconds so in other words you're checking for F12 input and thus trying to toggle the value(s) 1000 times in a second - which is probably not what you want.
so for the sleep interval to make sure i understand right should be changed to a second? rather then a millesecond.
ok, ill change it to 1000 for sleep.
also could the directx interfere with the keystroke with f12?
Well I've usually use 100ms interval since I'm using the same loop for freezing the memory values - 1000ms too high.
Are you absolutely sure that the injection succeeds in the first place? As in checking that the dll is loaded in the process memory and the entry point is executed?
thanks mike, i tried the code and recommendations you set forth, unfortunately with addicted injector and perx did not work and i got nothing. i will make a quick video on what im doing and ill up it within an hour.
ok apparently my recording software isnt working atm, but rest assured its not working.
the dll isnt showing any messages at all so it seems like its not even injected at all.
i have to leave for about 10 hours hopefully i can have some more information from your generous help to get me to fix this issue.
Sleep(1);//it will cause you lag if you make it so high,value 1 works best
Not quite, 1ms only gives other threads some room to do work as well but it still means that the thread in question hogs all the cpu time it can have. So it's unnecessarily low for both, input checking and freezing memory values.
Not that it'd matter though as CABAL rapes your CPU as well. But still.
Quote:
Originally Posted by syndrah
thanks mike, i tried the code and recommendations you set forth, unfortunately with addicted injector and perx did not work and i got nothing. i will make a quick video on what im doing and ill up it within an hour.
ok apparently my recording software isnt working atm, but rest assured its not working.
the dll isnt showing any messages at all so it seems like its not even injected at all.
i have to leave for about 10 hours hopefully i can have some more information from your generous help to get me to fix this issue.
I've had trouble with getting both of those injectors to work properly under 7 x64 (idk if those 2 don't set up debug privileges or just fail). There's quite few available in release section though, haven't tested them all.