Reputation: 3470
I've trying to use my 64-bit C++ application into a 32-bit system, but I've encountered some problems with Visual Studio 2008.
I've just downloaded the solution on my 32-bit pc (Microsoft Windows Xp), and set Visual Studio settings to: Debug|Win32
The compiling phase is alright, but if I try to run the program, the system says:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\wspace4\BioTesi\BioCpp.dll: %1 is not a valid Win32 application
Somehow the system does not interpret my dll as 32-bit. I think I'm missin' some Visual Studio setting... but which?
How to solve this problem? Thanks!
Upvotes: 0
Views: 685
Reputation: 30842
Have you set up different build paths for the 32 and 64-bit dlls and exes? It's quite likely you have some 64-bit outputs overwriting the 32-bit ones. Some things to try:
Upvotes: 1