Taher,
The problem is most likely related to missing DLL/s. Make sure you are deploying all the needed files in your application. For a list of the needed files to be included in your project, refer to the following online help topic:
Files To Be Included With Your ApplicationAlso, please make sure to install the C/C++ runtime files to the deployment machine, since our assemblies require VC++ 2010 Redistributable runtime files
You can download them using this link:
Microsoft Visual C++ 2010 Redistributable Package (x86)Since you use .NET framework 4, you should use the DLLs located in one of the below folders:
If your application is built as x86 CPU, you should use the DLLs inside this folder:
[LEADTOOLS 18 Folder]\Bin\Dotnet4\Win32
If your application is built as x64 CPU, you should use the DLLs inside this folder:
[LEADTOOLS 18 Folder]\Bin\Dotnet4\x64
Note that you should not build your application as Any CPU. If you built your application as 64-bit, you can only deploy your application into 64-bit machines. If you built your application as 32-bit, you can deploy your application into both 32-bit and 64-bit machines.
If that didn't work, you can check which DLLs are actually used at runtime, and add them to the deployment machine. To do that, run the project on the development machine where everything is installed, then check the process using the Process Explorer. The Process Explorer utility is used to verify that all our LEADTOOLS DLL files were loaded from the correct folder and not from any other location.
If you don't have Process Explorer, This is a free program that is available from Microsoft:
Process Explorer v15.40If the problem persists, send me a small sample project (not your full application) that shows the problem in a ZIP or RAR. Also, let me know what is the operating system (Windows version) of the deployment machine? And is it 32-bit or 64-bit?
Note: You can post the attachments here or send it to
support@leadtools.com and mention this forum post. If you want to attach a file on the forums, do not use the Preview feature.