المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to import following C DLL function to C# ?



C# Programming
04-21-2009, 03:11 PM
http://www.barakasoft.com/script/Forums/Images/smiley_frown.gif I have a native C DLL which contains the following function:

int FOO(
UINT A,
UINT B,
int X,
int Y,
void *(*get_Z)(int, int, void*),
void* I,
int G, int* &K, int* &L
) throw () ;

What should I do to be able to use it in my C# program.

Thanks.
Roman

modified on Tuesday, April 21, 2009 7:01 AM