FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Belgian eID-card
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Belgian eID-card
Posted: Thu Nov 15, 2012 01:27 PM

Hello,

Here in Belgium we all have a electronic ID-card which is used in many applications.

Does anyone know how we can read this eID in a cardreader?

Thanks a lot in advance.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: Belgian eID-card
Posted: Thu Jul 30, 2015 06:42 AM

Hello Michel,
have you found a solution.
Thanks in advance
Otto

Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Belgian eID-card
Posted: Thu Jul 30, 2015 01:00 PM

Unfortunately not, Otto.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 195
Joined: Sun Jul 22, 2012 07:01 PM
Re: Belgian eID-card
Posted: Fri Jul 31, 2015 12:34 AM
Posts: 375
Joined: Tue Feb 10, 2015 09:48 AM
Re: Belgian eID-card
Posted: Fri Jul 31, 2015 09:15 AM
In my infinity curiosity, I saw the API for Belgian eID-card. :-)
I arrived at http://eid.belgium.be/en/developing_eid_applications/eid_software_development_kit/
then at https://code.google.com/p/eid-mw/wiki/SDK40
so, It is enough download the software from http://eid.belgium.be/nl/je_eid_gebruiken/de_eid-middleware_installeren/ and the SDK from http://eid-mw.googlecode.com/files/sdk40_1306.zip.

starting from them, I created this test: http://aperricone.altervista.org/temp/beid.zip

all file except: be_api.c, test.prg, build.bat and test.exe are copied from the SDK.
The interesting one is be_api.c, it is only started, finish its is a easy but boring work.
I don't have way to test it, but I think it is a good starting point.

Hoping that I helped,
Antnino Perricone
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
Re: Belgian eID-card
Posted: Wed Jan 27, 2016 08:26 PM

Hello,
What is the right instruction in other to read the contents of EID Card : Name, Adress,Bitrth Date ?

Thanks

Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
Belgian eID-card
Posted: Mon Jun 06, 2016 04:57 PM

Hello,
Is there something new about this ?
How to extract FirstName,LastName,BirthDate etc
Thanks for your help .

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Belgian eID-card
Posted: Wed Jun 08, 2016 10:46 AM
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
Re: Belgian eID-card
Posted: Wed Jun 08, 2016 02:04 PM

How to translate this in Fivewin/Harbour language ?
Thanks for your help .

Posts: 375
Joined: Tue Feb 10, 2015 09:48 AM
Re: Belgian eID-card
Posted: Wed Jun 08, 2016 03:46 PM

no one tried my code?

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Belgian eID-card
Posted: Wed Jun 08, 2016 05:20 PM
AntoninoP wrote:no one tried my code?


Antonino,


When I run it with a cardreader, I get this error:
Code (fw): Select all Collapse
Init:         0
Error BASE/1111  Argument error: LEN
Called from LEN(0)
Called from MAIN(6)


I will try to debug it if I have some time...
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 375
Joined: Tue Feb 10, 2015 09:48 AM
Re: Belgian eID-card
Posted: Thu Jun 09, 2016 07:19 AM
It does not found the file beidpkcs11.dll or beid35pkcs11D.dll (depends if is compiled in C debug or not), maybe is better to change the line 11 of be_api.c from
Code (fw): Select all Collapse
CK_RV retVal = CKR_OK;

to
Code (fw): Select all Collapse
CK_RV retVal = CKR_GENERAL_ERROR;

so it does not return 0 (OK) in case of fail.
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Belgian eID-card
Posted: Sun May 28, 2017 09:15 AM

Has anyone been able to read the ID card yet ?

Maybe even with a other software executed from FW ?

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
Re: Belgian eID-card
Posted: Fri Sep 22, 2017 01:46 PM

Hello,
Did someone found samples of FW code for this ?
Thanks

Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Belgian eID-card
Posted: Fri Sep 22, 2017 08:13 PM

Not from my side.

Marc Venken

Using: FWH 23.08 with Harbour