(WIP) Cxbx: Fixing 0xC000007b error on 64-bit Windows - 模擬器
![Skylar Davis avatar](/img/beret.jpg)
By Skylar Davis
at 2013-05-02T20:08
at 2013-05-02T20:08
Table of Contents
2013.05.02
I spent today hacking with the Cxbx code from Shogun's SVN branch and
I have managed to prevent the 0xC000007b error from occuring on Windows
64-bit.
Cxbx still doesn't run correctly due to the well known LDT/FS register
issues, but at least it doesn't immediately get killed by Windows
anymore.
It turns out that the Cxbx code that produces a .exe file fills in the
SizeOfImage field of the PE Header incorrectly, causing some versions
of windows to prevent the image from loading.
I solved this by patching Exe.cpp of the Cxbx project to write the final
raw file size of the produced EXE to the SizeOfImage field. (Verified by
CFF Explorer as being correct)
http://ppt.cc/~_x_
http://ppt.cc/5VAu
http://ppt.cc/-1YB
http://ppt.cc/Y8UR
http://ppt.cc/7Jnx
http://ppt.cc/Kkok
______________________________________________________________________________
來源:http://www.ngemu.com/forums/showthread.php?t=156180
--
ポーラステーション
http://perryt0517.wordpress.com/
--
I spent today hacking with the Cxbx code from Shogun's SVN branch and
I have managed to prevent the 0xC000007b error from occuring on Windows
64-bit.
Cxbx still doesn't run correctly due to the well known LDT/FS register
issues, but at least it doesn't immediately get killed by Windows
anymore.
It turns out that the Cxbx code that produces a .exe file fills in the
SizeOfImage field of the PE Header incorrectly, causing some versions
of windows to prevent the image from loading.
I solved this by patching Exe.cpp of the Cxbx project to write the final
raw file size of the produced EXE to the SizeOfImage field. (Verified by
CFF Explorer as being correct)
http://ppt.cc/~_x_
http://ppt.cc/5VAu
http://ppt.cc/-1YB
http://ppt.cc/Y8UR
http://ppt.cc/7Jnx
http://ppt.cc/Kkok
______________________________________________________________________________
來源:http://www.ngemu.com/forums/showthread.php?t=156180
--
ポーラステーション
http://perryt0517.wordpress.com/
--
Tags:
模擬器
All Comments
Related Posts
FC 烏帕王子
![Ina avatar](/img/girl1.jpg)
By Ina
at 2013-05-02T15:08
at 2013-05-02T15:08
NBA PLAY BY PLAY(konami)街機
![Frederica avatar](/img/cat1.jpg)
By Frederica
at 2013-05-02T04:32
at 2013-05-02T04:32
Project64 v2.1
![Callum avatar](/img/dog1.jpg)
By Callum
at 2013-05-01T23:00
at 2013-05-01T23:00
JoyToKey v5.2.3
![James avatar](/img/cat3.jpg)
By James
at 2013-05-01T22:50
at 2013-05-01T22:50
DeSmuME 0.9.9 released!
![Zanna avatar](/img/girl5.jpg)
By Zanna
at 2013-05-01T22:39
at 2013-05-01T22:39