On Oct 6, 2008, at 11:27 AM, LYou...@gkservices.com wrote:
Quick question. I'm on amd 64 bit box doing windows. I imagine
that 32 bit DLLs work fine when loaded from a process thats 32 emu
or whatever, but when I try to load the DLL from java I get an error
"cannot load ISA-32 into AMD-64" or something to that effect.
So my question is, Is this because java is running as a 64 bit
process? Then, would I want to run it as a 32 bit process? Or
would I want to recompile the DLL to 64 amd? If I recompile to 64
amd, can I do this with something like mingw? I have not run into
this problem before.
IS java running as a 64-bit process? Do "java -version" to find out.
If so, it won't load a 32-bit dll and you'll have to either run 32-bit
java or compile your DLL as 64 bit.
mingw-64 is probably not a challenge you'd want to take at this
point. MS does provide a no-purchase-cost cross-compiler to 64-bit.
Levi Yourchuck
Senior Programmer Analyst
G&K Services
Phone: 952 912 5828
www.gkservices.com
Enhancing Image & Safety Through Innovation