I want to use a function in a C++ DLL in my C# application using DLLImport:
BOOL IsEmpty( DWORD KeyID, BOOL *pFlag )
I tried many combinations but in vain, like:
public extern static bool IsEmpty(int KeyID, ref bool pFlag);
The method returns false (that means an error).
Any idea how to do that?
Thank you for your help!
finally this works for me
public extern static int IsEmpty(
int KeyID,
int[] pFlag)