views:

57

answers:

0

Hi, i write some dll in windows xp sp3 x86 using Visual Studio 2008. Dll is calling in java throught jni. In windows xp x86 sp3 everything is working fine. I try to use this dll in windows 7 x64 and my virtual machine is crashed.

I try few combination:

1) jdk1.7 x64, Eclipse x64, dll x64 2) jdk1.7_12 x86, Eclipse x86, dll x86

and every time vm crash. I add main function in dll and made console application from dll. All it's working fine in .

How to run x86 dll with jni on windows 7, or how to build dll for windows 7 x64 and jni?