-
-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not use interop zxing after registering #45
Comments
Did you try a restart of Access and/or the whole computer? |
Yes I did. It did not help. |
I had to install VisualStudio2017, run it as administrator, and build zxing.interop. After this it is visible in VBA. I found this, http://edndoc.esri.com/arcobjects/9.2/NET/9826f81b-278c-49cc-a912-ab8d86f5e91e.htm |
I checked the registry and when run form VS2017 as described above it looks like this: What I will try next is to put the dll somewhere else, not in c:\windows and run register.cmd on a computer which does not have visual studio installed, to see if it shows up in VBA (it does register no matter what, but does not show up in the VBA) |
I also noticed that building in VS there is the tlb file created. Can this be the problem? Should I use regasm /tlb ? |
It seems tlb is needed: |
I thought the TLB file would be created because of the /tlb parameter: I have to check it again. |
It looks to me that there is an issue if the register.cmd is executed on 64bit windows. |
I found that running register.cmd DID work OK (as long as the full path to the zxing.interop files did NOT contain spaces).
and NOT as
Before trying to rebuild the project in Visual Studio (as suggested above) try looking for this entry. |
I followed instructions, copied both zxing.dll and zxing.interop.dll to c:\windows and from there with admin rights run register.cmd
It registered, but now in VBA Access, I can not add a reference. It is not listed, and if clicking on browse, and selecting the dll , I get the error - "Can't add a reference to the specified file."
How can I add this to work?
The text was updated successfully, but these errors were encountered: