O
Ole
Hi,
I have a native dll that has a byte array to which I want a pointer to in my
C# application but I will need some help to do that.
the dll exports this function:
void DllFunction (PBYTE pArray, DWORD dwLen)
{
.....
}
How should I specify the PBYTE parameter in my Dllimport?
In my C# code I would like to use the imported array like:
ByteVariable = ImportedArray[5];
Is that possible - and if then how? If not - what would you suggest to do
instead?
Thanks
Ole
I have a native dll that has a byte array to which I want a pointer to in my
C# application but I will need some help to do that.
the dll exports this function:
void DllFunction (PBYTE pArray, DWORD dwLen)
{
.....
}
How should I specify the PBYTE parameter in my Dllimport?
In my C# code I would like to use the imported array like:
ByteVariable = ImportedArray[5];
Is that possible - and if then how? If not - what would you suggest to do
instead?
Thanks
Ole