1. Visual Studio 2010, and the development language is c #, this machine is x64 win10
2. Call the third-party libraries canlibCLSNET. DLL (x86 DLL), add references in the project,
3. With the release of the installer to choose x86 platform, joined the dependency DLL package
4. On the target machine (Windows 7 32 bit and 64 bit win10) tested, all indicate
System. IO FileNotFoundException, failed to load file or assembly canlibclsnet. DLL or one of its dependencies, can not find the specified module,
5. The target computer and the machine use depency seen, are all the same, didn't find any lack of dependence on DLL
6. In this phone, direct installation package setup ok, remove programs on the target machine and the unit installation path canlibclsnet. DLL, prompt, for the
Failure reason: failed to load file or assembly "canlibclsnet, version=8.28.846.1 culture=neutral, publicKeyToken=XXXXXX", a little more information than before not to delete the DLL, such as version=culture=publicKeyToken=,
7. Tried when package registered DLL, as the file system, and copy in the target machine to system32
Have you tried a variety of ways,,, still can't solve
For a great god what method???????
Thank you
CodePudding user response:
Updates a4. Try to use any CPU configuration, in this machine to replace x64 version canlibclsnet. DLL, can still run successfully, on the target machine (Windows 7 32 bit) using either x32 or x64 or can not,,
CodePudding user response:
Last night we had a night, finally done, is for the use of third-party canlibclsnet. DLL version is too new, deployed on the old version of Windows is not successful, can substitute the old version of the DLL,,, is so simple,, knot,CodePudding user response:
The building Lord, I am on a PC, CAN make debugging equipment when initialization is not successful, always look at the return value, according to 4.2950 e+09, excuse me this how to solve?