From: Antonio on
Hi J�rgen

I don't succeed in translating the code VB in VO :

If CardStatus Then
Ret = SCardComand(0, "Card,MemVerifyPin," & PIN, 0, 0, 0, 0, 0)
If Ret = 0 Then
ritorna = True
Else
If activeMsg Then Call Message("PIN ERROR", "La Card inserita non �
legale.")
End If
Else
If activeMsg Then Call Message("CARD ERROR", "Errore di comunicazione
con la card.")
End If


Thanks for the help (excuse my English)


--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
From: Malcolm Gray on
Antonio wrote:
> Hi J�rgen
>
> I don't succeed in translating the code VB in VO :

Show us the code you have written


> If CardStatus Then
> Ret = SCardComand(0, "Card,MemVerifyPin," & PIN, 0, 0, 0, 0, 0)

if CardStatus then
ret := SCardCommand(0,string2psz("Card,MemVerifyPin,"+PIN),0,0,0,0,0)
etc

> If Ret = 0 Then
> ritorna = True
> Else
> If activeMsg Then Call Message("PIN ERROR", "La Card inserita non �
> legale.")

is activeMsg as global

> End If
> Else
> If activeMsg Then Call Message("CARD ERROR", "Errore di comunicazione
> con la card.")
> End If
>
>
> Thanks for the help (excuse my English)
>
>


--
replace -news2006 with -gray
From: Antonio on
It doesn't work all the commands they return the following error

0XC00000065 (EIP=0X00DCBA29)

and the application goes to crash

Thanks


--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
From: Juergen on
On 21 Feb., 15:04, "Antonio" <d...(a)tiscali.it> wrote:
> It doesn't work all the commands they return the following error
>
> 0XC00000065 (EIP=0X00DCBA29)
>
> and the application goes to crash
>
> Thanks
>
> --
> Posted via Mailgate.ORG Server -http://www.Mailgate.ORG

Send me your Email-Adress and i will send you our read/write functions

From: Malcolm Gray on
Antonio wrote:
> It doesn't work all the commands they return the following error
>
> 0XC00000065 (EIP=0X00DCBA29)
>
> and the application goes to crash
>
> Thanks

You are not going to get much help until you post the code
you are running and the details of the error.