0

I have a DLL that I need to use in a Java application. This is already made with a Windows 32 bit service pack 3, so the DLL is working. Now I have another machine with the same configuration that needs to use it.

When I'm trying to load the lib in java, the follow error occurs:

Exception in thread "main" java.lang.UnsatisfiedLinkError: ARWAPI32 (This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. )

When I open the DLL with Dependency Walker in the first machine, no problem occurrs, but when I open the DLL in the machine is not working

Error: The Side-by-Side configuration information for "c:\ARWAPI32.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).

What this means? I tried to register the dlls with the command Regsvr32 but the same error is showed.

LoadLibrary("c:\ARWAPI32.DLL") failed - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
John John Pichler
  • 4,427
  • 8
  • 43
  • 72
  • 2
    You forgot to deploy the DLLs required by this DLL to function correctly. You'll find an event about it in the Windows Application event log. Biggest odds are that you need to install the CRT dll, looks like Microsoft.VC90.CRT in the event message. If it says DebugCRT then you need to use the Release build. You can get the vcredist installer from Microsoft, you'll have to pick the right version. – Hans Passant May 03 '12 at 12:43
  • I found the logs! I'll gonna try. The log is: "Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system." – John John Pichler May 03 '12 at 13:25

0 Answers0