• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook pagefor updates, or we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.)

[Tutorial] C++ DLL injection for Main Server

Newbie Spellweaver
Joined
Jan 8, 2011
Messages
45
Reaction score
6
ive got this error:

dllmain.cpp(11): warning C4273: 'GetUserNameA': Inkonsistente DLL-Bindung.
1> c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winbase.h(12659): Siehe vorherige Definition von 'GetUserNameA'
1> KalHook.cpp

anyone know how to solve this ? ive used the base from page one of this thread
 
Newbie Spellweaver
Joined
May 24, 2008
Messages
51
Reaction score
8
ive got this error:

dllmain.cpp(11): warning C4273: 'GetUserNameA': Inkonsistente DLL-Bindung.
1> c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winbase.h(12659): Siehe vorherige Definition von 'GetUserNameA'
1> KalHook.cpp
error=warning ?
anyone know how to solve this ? ive used the base from page one of this thread
You should read also other pages of this thread ;) ..start from post #57
What about exports ?
Is it Express Edition ? ..maybe mfc ?
There's also one great thing. use this.

And ugly way. #pragma warning( disable:4273 )
 
Newbie Spellweaver
Joined
Jan 8, 2011
Messages
45
Reaction score
6
first vs2010pro... second exports.def there and ok (solved other errors) third i tried both with mfc and without...
now you ;)
 
Back
Top