V
vk000
Hi,
There is a constant structure with predefined fields values located in WinScard.dll. I am trying to get access to this structure
values in my C# code. Is there any way I can do that?
Basically I just need to obtain a memory reference like IntPtr to location of the structure in DLL, since I know the structure
layout.
I know that [DllImport()...] attribute works great for functions but looks like there is no instruction/attribute to associate
IntPtr and structure from an unmanaged DLL.
In my case I am trying to get access to
g_rgSCardT0Pci,
g_rgSCardT1Pci,
g_rgSCardRawPci
structures from WinScard.dll
Please help!
--
Regards,
Victor.
|||||||||||||||||||||||||||||||||||||||||||
"Be nice to the people you meet on the way up, because you'll be meeting the same people on the way down."
There is a constant structure with predefined fields values located in WinScard.dll. I am trying to get access to this structure
values in my C# code. Is there any way I can do that?
Basically I just need to obtain a memory reference like IntPtr to location of the structure in DLL, since I know the structure
layout.
I know that [DllImport()...] attribute works great for functions but looks like there is no instruction/attribute to associate
IntPtr and structure from an unmanaged DLL.
In my case I am trying to get access to
g_rgSCardT0Pci,
g_rgSCardT1Pci,
g_rgSCardRawPci
structures from WinScard.dll
Please help!
--
Regards,
Victor.
|||||||||||||||||||||||||||||||||||||||||||
"Be nice to the people you meet on the way up, because you'll be meeting the same people on the way down."