[Wine] Calling code allocated in memory crashes wine
UnknowN-TerroR
wineforum-user at winehq.org
Sun Jun 7 05:19:28 CDT 2009
Hi,
I have a program which needs to call some code manually allocated in memory.
The code is first prepared and all of its functions/variables are updated with the right address, then its init function is called through a simple __fastcall in C.
It works very well under windows, but if i try to run it under wine it crashes when it calls this init function, with the following error:
"Unhandled exception: page fault on execute access to 0x00116000 in 32-bit code (0x00116000)"
0x00116000 is the address of the init function.
I think it's an access problem (i suppose wine doesn't allow calling a code allocated manually) or maybe a problem in the code preparation, or wine may doesn't allow running native windows code. Does anyone know something about? Thanks.
More information about the wine-users
mailing list