Good Morning,
First, I must say that I'm completly newbie about C# and .NET, nevertlessy
my company put me on work on a C# projects...
So I'm here to ask for help:
I have an unmanaged DLL that export a function.
The function is (as declare in VB software that import it):
Private Declare Function SCardComand Lib "SCARD32"
(Handle As Long,
ByVal cmd As String,
CmdLen As Long,
ByVal DataIn As String,
DataInLen As Long,
ByVal DataOut As String,
DataOutLen As Long) As Long
As you can see we have a mix of input and output parameters. How can I:
1) Import/Declare this function in C#?
2) Pass the equivalent of a C++ NULL pointer to the function
3) Pass the equivalent of a long* to the function
Thanks for whater help you can provide me.
Dev