-
Notifications
You must be signed in to change notification settings - Fork 70
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
Exception thrown when trying to get ApplicationID(s) #34
Comments
Ok there was an issue with GetApplicationIDs and GetFileIDs located in COM wrapper. It should be fixed now. And let me know if it fix the problem. If so it will be fixed in 1.69 release. |
unfortunately i've missed to mention i have a x64 system. do you have a x64 release of 1.68.0913 .com.dll ? this one is 32bit and returns the following error when trying to intatiate: IReaderProvider readerProvider = new PCSCReaderProvider(); 800700c1 is not a valid Win32-Executable. (Exception from HRESULT: 0x800700C1). |
Ok I recreated the full installer. |
Thanks for your time! But iam sorry to say it did not work. I've uninstalled Build 0906 and installed 0916. I deleted interop.liblogicalaccess.dll from my project folder to ensure the new build is used. The Error Message is still the same like above. I also tried the following Methods wich all seem to has worked (as i partially has checked the card contents with a self created "GetApplications()" method using winscard.dll): dcmd.CreateApplication(0x332211,DESFireKeySettings.KS_FREE_CREATE_DELETE_WITHOUT_MK,5); |
Indeed, the error still occurs in some cases. I'm investing the problem. |
Ok the error was wrong memory allocation for application id list. Depending the number of Application IDs on your card, it was working or crashing. This is now fixed. |
Indeed, it now does work! I used: ... Thank you very much. Greetings from Germany, |
Dear ISLOG team,
when i try to list the Apps on a blank DesFire EV1 chip with
List vector = new List();
vector.Add(Convert.ToInt16(dcmd.GetApplicationIDs()));
i get an error like:
System.Runtime.InteropServices.SEHException (0x80004005): An external
component throws an exception.
at LibLogicalAccess.IDESFireEV1Commands.GetApplicationIDs()
could you please lead me to the right direction?
Thanks, Steven.
The text was updated successfully, but these errors were encountered: