I am having a problem. I have a Winform that I have developed to work with a fingerprint reader.
So when I use the dll for handling the fingerprint reader, I do the following:
1) I create a reference to the dll
2) I then add the using statement to use the namespace
3) I then create a ZKFPEngX object
4) Then I create an instance of that object and start making use of that instance.
In Debug mode in my Dev environment, this works perfectly.
Once I have packaged it and installed the program on another pc, it breaks as soon as it reaches a any section of code that makes use of that dll.
The error I get is:
I have made sure that the output includes the dll and when installed has the dll in the application directory.
I am not sure where to look from here for the error.
EDIT:
I have tried to register the dll just manually by copying the dll to System32, then trying to register the dll using regsvr32.exe
regsvr interop.ZKFPEngControlX.dll
this throws the following error
I did try register another dll that was in the system32 file... that one worked like a charm
After further reading up, "the internet" suggests that the dll doesn't need to be registered, or rather cant be.
My question is how do I use it now, and why would it work in my dev environment?





