[Migrated content. Thread originally posted on 31 January 2011]
Hi all,I'm using Visual Code (2008) edition and i need to find out how to convert the following VB code into COBOL code.
I have a DLL on my system called “Winscard.dll” but I can’t get my project to access it.
The code I’m trying to convert is :-
Public Declare Function SCardEstablishContext Lib "Winscard.dll" (ByVal dwScope As Integer, _
ByVal pvReserved1 As Integer, _
ByVal pvReserved2 As Integer, _
ByRef phContext As Integer) As Integer
And I’ve tried adding the DLL as a project ref but cant seem to access it.
Any ideas/help much appreciated as I'm a bit stuck at the moment.
Many thanks
Neil.




