Recently in the study of the Network Camera two development, testing a sea Conway vision of the Network Camera, the program debugging time, appeared title error.
When debugging a random demo, the program runs normally, but when the program is introduced into my own program, it starts to error. The DLL files required for debugging are copied to the bin file according to the prompt of the development package, still error.
"Unable to load DLL" based on Error: \bin\hcnetsdk.dll ": Unable to find the specified module" information, found the definition of the error content, found the DLL file reference. The same as the error message is the path to the import DLL file, that is, the program cannot find the required DLL file under this path. So I copied all the DLL files into my own program's Bin folder, debug program, still error. Continue to study the characteristics of the demo program, found that the demo Program Bin folder does not have the Debug folder, so add DLL files and program run EXE file for the same path. Finally find a solution! I copy the DLL file to the Debug folder in my own program's Bin file, in the code that calls the DLL file in the program, modify the reference path: DLL ". \debug\hcnetsdk.dll "Modified, debug program, OK!
DLL failed to load using C # encapsulation Hoi Hong SDK ". \bin\hcnetsdk.dll ": The specified module could not be found