I want to create a C# dll, then I'd like to call C# function from C++ with the following prototype:
setVal(DWORD id, BYTE* msginstime, BYTE* data);
I have not known how to pass id, msginstime, data
parameters to C# function yet.
(or the way C# function get parameters from C++ function).
I read this example:
http://www.codeproject.com/KB/cs/InterOp.asp开发者_开发技巧x but this example does not pass parameters.
Would you please give any hints on how to resolve this issue?
精彩评论