Re: [新聞] (WIP) Cxbx: Fixing 0xC000007b error on 64-bit Window
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/
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.168.21.237
※ 編輯: conpo 來自: 118.168.21.237 (05/02 20:09)
Emulator 近期熱門文章
PTT遊戲區 即時熱門文章