I shall wish to speak to you about my experiment on Purebasic on Windows / MacOSX (El Capitan).
My name is Arnaud and I'm french. Ten years ago, I bought Purebasic Licence and I started to implement a lot of things for windows (e.g. an ePassport Reader using windows PC/SC layer, crypto tools, asn.1 parser, database...)
Since few weeks I decided to start new dev using Purebasic Module for PC/SC interface using WinScard.dll (32 and 64 bits).
Today, my Module is ready and works perfectly but I'm disappointed because I would like to take advantage of the amazing portability of Purebasic but I don't know how to use the methods/interfaces/libraries for MacOSX with PCSC.
Accidentally, yesterday I read on a website the following:
I simply write the following for MacOSX in my PB file:on MacOSX you have to set the following flags "-frameword PCSC" in GCC to use PC/SC layer.
Code: Select all
Import "-framework PCSC"
SCardEstablishContext ( dwScope.DWORD , *pvReserved1 , *pvReserved2 , *phContext )
EndImport
Code: Select all
Import "WinScard.lib"
SCardEstablishContext ( dwScope.DWORD , *pvReserved1 , *pvReserved2 , *phContext )
EndImport
I love you Purebasic !

