
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Hi,
I have a question regarding the boot compilation (-b command line argument) and the resulting binary file (*.prc).
With VS 2005 I can compile my code under a 32bit OS for 32bit and 64bit systems.
Because I don't want my prolog stuff to be laying around in text form I create a boot compilation of it and append it to libpl.dll.
Tests showed that I cannot use the 32bit boot compilation for the 64bit version of my application.
So, one solution to the problem would be to upgrade my OS to a 64bit version and create the required boot compilation(s) with the 32bit and 64bit version of SWI (plcon.exe) respectively.
But I'm more interested if it's in any way possible to create a valid 64bit boot compilation with the 32bit version of SWI at all?
What I already found out by comparing the 32bit version with the 64bit version is, that by adjusting a hex value from 0x20 to 0x40 at a specific offset in the 32bit version. I can get the 32bit boot compilation version working in my 64bit version of my application.
The only problem is that I have to do without any floating values in my prolog sources. Because it seems like as if floating values create more differences between the 32bit and 64bit boot compilations.
Regards,
Bob.
Bing™ brings you maps, menus, and reviews organized in one place.
Try it now.