renatobianchini / eid-mw

Automatically exported from code.google.com/p/eid-mw
GNU Lesser General Public License v3.0
0 stars 0 forks source link

New SDK 4.0 use with VBA (MS Access) #129

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I used the 3.5 library EIDLIBCTRLLib in MS Access VBA to read out the old e-id 
cards. This works perfect.

For new cards, this doesn't work anymore. I found a lot of examples how to use 
the new SDK in C and C#, but no way how I can get the data in MS Office 2007 
applications working with VBA.

I even can't find a reference dll to be attached to my database VBA like the 
beidlibaxctrl 1.1 Type Library I've available in SDK 3.5.4. 

Is there a way I can continue to use my internal applications (used by the OCMW 
I work) for reading out new ID cards? 

What version of the product are you using? On what operating system?
Windows 7 32bit
MS office 2007
id viewer 4.0.7

Please provide any additional information below.

We don't have development software available like Visual Studio. So we need 
ready to use dll's/libraries we can use in MS office.
I see the Belgium Identity Card PKCS11.dll and beidpkcs11.dll in 
Windows\System32, but can't see it in office as usable dll. 

Any suggestions how I proceed?

Original issue reported on code.google.com by OSSG...@gmail.com on 19 Feb 2015 at 12:10

GoogleCodeExporter commented 9 years ago
Hello, I have the same problem that my Ms Access 2007 Aplication (on an Windows 
7 64 Bit Operating System) can't read EID's that are issued after march 2014. 
The code get's stuck on: 
   Set RetStatus = EIDlib1.Init("", 0, 0, lhandle)
   Set RetStatus = EIDlib1.GetID(MapColID, CertifCheck)

I need the new VBA code

Note: When I rule out those lines I get a Type mismatch error 

Original comment by johan.ta...@gmail.com on 24 Feb 2015 at 4:54