smart card program successfull compiled
11.08.06 (2:00 am) [edit]
1. Create winscard.def from winscard.dll file ...
> impgen wincard.def winscard.dll
impgen can be found in Borland free tools.
2. I have to create *.a file from. Todo that i have to run this:
dlltool.exe --as=as --dllname winscard.dll --add-stdcall-alias
--def winscard.def --kill-at --output-lib libwinscard.a
** sometimes --as=as will not work ... like mine i have to define full path to the as.exe.
With this i m successfully get rid of the:
" [Linker error] undefined reference to `SCardEstablishContext@16 ' "
error. Now i can proceed to my next level... muhehehhee....
I have to clear the warning :
" [Warning] passing arg 4 of `SCardListReadersA' from incompatible pointer type "
i will update soon on my success ... or failure ...
. Now i can proceed to my next level... muhehehhee....