I am using the C code with java code in JNI framework (Netbeans).I am getting the following error:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Developers\DLL_Key\MainDLL.dll: %1 is not a valid Win32 application

Is there something wrong with my c compiling tools? I am using mingw-builds\x32-4.8.1-posix-dwarf-rev5

Please suggest me the correct compiling tools of Min-GW. I am using Msys for 32 bit windows.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.