scard32.dll

  • Thread starter Thread starter Abhay
  • Start date Start date
A

Abhay

Scardcommand takes parameter namely
Byref Handle long ,
Cmd string ,
Cmdlen long ,
Datain string ,
DataInlen long,
DataOut String,
DataoutLen long
and returns a response which is zero on each successful
operation. This is compatible with VB6.0 and works.
When invoking sames command with dllimport in VB.NET
returns error which is misc. whats the response and
Pls HLP
 
Hi,

The new integer is the same as the old long. Try changing the longs
to integers.

Ken
 
* "Abhay said:
Scardcommand takes parameter namely
Byref Handle long ,

Replace 'Long' with 'IntPtr'
Cmd string ,
Cmdlen long ,
Datain string ,
DataInlen long,
DataOut String,
DataoutLen long

Replace all 'Long' with 'Int32'.
 
Back
Top