-
18th October 2015, 13:03
#11
Sergeant
So, to get your project to compile in visual studio 2015 I had to:
- disable precompiled headers
- add libmysql.lib to to the linker options of all Build-targets in x86/x64
- cast GetModuleHandle((LPCSTR)"uo_game_mp_x86.dll");
It compiles without errors then. If I maybe have time ill lokk into your dllmain issue
-
-
18th October 2015, 16:16
#12
I got the project compiled. I have the DLL, but if I inject it, nothing happens. Even Dllmain isn't called.
(I added a msgbox but it didn't pop up)
-
-
20th October 2015, 16:21
#13
Global Mossaderator
Did you compile the dll as a 32-bit release? I guess that a 32-bit process and a 64-bit dll doesn't work.
Also did you add the mysql dll to the same directory as your compiled dll?
Maybe there is some useful information in this thread:
http://killtube.org/showthread.php?1...ll=1#post10967
-
-
21st October 2015, 01:45
#14
Assadministrator
depends.exe is a nice tool to check if a exe/dll is missing dependencies
http://www.dependencywalker.com/
-
The Following User Says Thank You to kung foo man For This Useful Post:
Mitch (21st October 2015)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules