Calling code allocated in memory crashes wine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux