jdt / EID.Wrapper

A COM Wrapper for the Belgian EID to allow legacy VBA to access the EID card data
MIT License
2 stars 2 forks source link

Add versions to DLL's #4

Open jdt opened 9 years ago

jdt commented 9 years ago

Add versioning information to the DLL's themselves so the specific version can be checked on systems that have the wrapper installed.

JohanRVT commented 9 years ago

With this new version I have troubles in the VBA code The VBA compiler says that two variables has not been defined: CardStatus_NoCardFound and CardStatus_Read

With the old version no problems with this declarations. Dim wrapper As New EID_Wrapper.wrapper Dim data As EID_Wrapper.CardData

What do I have to use as declaration or defining the variables?

image

jdt commented 9 years ago

The latest version added support for multiple cards and cardreaders, due to the wrapper not working on devices that have multiple cardreaders with similar card technologies (eg EID and SIM-cards). This also moved around some checks and flags, such as this Status. The change also allows you to discern problems with the wrapper in general from problems with the card itself which was also an issue.

You can find the new example code for recommended usage in the README at https://github.com/jdt/EID.Wrapper#checking-for-the-presence-of-a-valid-card-in-the-cardreader

JohanRVT commented 9 years ago

Ok, works like a charm now Thanks

Dave-DK commented 9 years ago

Very Helpfull! Thank you very much!

These keys are no longer present and cause an exception cardData["member_of_family"] cardData["special_organization"] cardData["duplicata"]