(*Update*) DirectWrap: Constants Did It Again! :(
The DWrap project half of you mailed me about in
excitement, is going pretty damned well (see what a
little encouragement does?)...
My alpha testing app works perfectly for all
Executables I have tested.
Tested stuff;
- A few DirectX 8 routines were perfectly 'wrapped'
into Eu code. *It works as excpected under DOS32,
Win32 and Linux. (Yes, the code becomes platform
independant after being DWrapped)
- A couple of small test routines were compiled into a
DLL and then DWrapped, *and worked perfectly.
* = The only thing that's giving problems, are
routines using (initialised) globals...
Example:
int i;
main()
{
i = 50;
}
DWrap can't access 'i', because it's not being
allocated yet, 'i' goes into the DATA section of an
executable...
To solve this, I will need to do some parsing of the
sections of both MZ and PE executable images...
Can anyone point me to some resources on this?
I'm a little weary...
Rob maybe?
He knows about this stuff...
Mike The Spike
|
Not Categorized, Please Help
|
|