The Situation:
I'm trying to run CharLS JPEG-LS Compression algorithm implementation
There is source code in the site about where you can download a C# VS 2010 Solution. In the Solution there are, 2 C# Class Library Projects, 1 Unmanaged VC++ project and 1 C# Console App. The console App calls one of the class libraries, `using CharLS;', and that particular library references the unmanaged VC++ project. The console application works perfectly on debug mode.
The Problem:
But when I compiled the console app for "Release", and ran the .exe (executable file), when a particular function is called during the process, it gives me this error:
Error: Unable to load DLL 'CharLS.dll' : The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I've also tried to create another project and reference the class library from there, but I get the same error.
I've tried reading other solutions for this over the net but they have not helped me.
CharLS.dll
exists on the path on your development machine? If it does, then deploy it with the release software (also on the path). Alternatively, is it a registered file (regsvr32)? If so, deploy it and register it. – Vicki