![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Black Magic
![]() |
![]()
The 32bit version of SH5 injector has a flaw in it. For those who have downloaded it please do not use! The problem with it is the incorrect RVA is given for the LoadLibrary and FreeLibrary functions in kernel32.dll.
Normally one calls the Win32 API function GetProcAddress to get the address of the function they want to call in a dll. I had problems getting that working correctly with 64bit OS so I found another way to do it. Since I know the base address of kernel32.dll I just add an offset to that base to get to the function(s) I want (I know this offset from using dumpbin on kernel32.dll). Now here's the problem: Win7 64bit uses WoW (Windows 32 on Windows 64) to enable 32bit apps to run in the 64bit environment. When in WoW mode, kernel32.dll is different from the 32bit version of kernel32.dll (there are two versions of it on 64bit). This means the offsets are also different for the functions I need ![]() EDIT: problem has been corrected. Now if someone can verify that the 32bit version works I would greatly appreciate it ![]() Last edited by TheDarkWraith; 02-28-11 at 10:45 AM. |
![]() |
![]() |
![]() |
#2 |
Mate
![]() Join Date: Feb 2003
Location: España
Posts: 56
Downloads: 128
Uploads: 0
|
![]()
All that sounds great!!!!
![]() |
![]() |
![]() |
![]() |
#3 |
Planesman
![]() Join Date: Apr 2005
Location: Con dos cojones, ESPAÑA
Posts: 190
Downloads: 126
Uploads: 0
|
![]()
Please moderators, this post should be moved to "SH5 Guru Programming" subforum.
![]() ![]() ![]() |
![]() |
![]() |
![]() |
#4 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Excellent Tool for breaking OSI.exe
![]() As I don't want to be brigged nor banned? That's all I'll say on OSI ![]() |
![]() |
![]() |
#5 | |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() Quote:
Keep getting an "SH5 Process not found!" error ![]() Is there an SH3 version ![]() Sh5 is up and running. SH5Injector32.exe is in SH5 Directory. |
|
![]() |
![]() |
![]() |
#6 | |
Black Magic
![]() |
![]() Quote:
I haven't made an SH3 version yet but I will. |
|
![]() |
![]() |
![]() |
#7 |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() |
![]() |
![]() |
![]() |
|
|