L
laurent couraud
Hi,
First, sorry if this is not the right place to ask this question.
I have a DLL in C which contains a function with the signature:
void Init(void** href);
It is supposed to be used like this in C
void* href = NULL;
Init( &href); // the library do some memory allocation there and then set
the value of href.
// Then i must provide this href variable to all others function of the dll.
ApiFunc1(href, .);
ApiFunc2(href, .);
As you guess I want to call this DLL from CSharp. How to do it?
Thank in advance for any hint.
Best regards.
First, sorry if this is not the right place to ask this question.
I have a DLL in C which contains a function with the signature:
void Init(void** href);
It is supposed to be used like this in C
void* href = NULL;
Init( &href); // the library do some memory allocation there and then set
the value of href.
// Then i must provide this href variable to all others function of the dll.
ApiFunc1(href, .);
ApiFunc2(href, .);
As you guess I want to call this DLL from CSharp. How to do it?
Thank in advance for any hint.
Best regards.