I need to access functionality from win32 dll , for that I am using [dllimport] in C# code.
what exact method signature i need to create with [dllimport] for the following c++ methods
void GetGeneratedKey(char *code, int len, char *key)
pls help in this.
Thanks
nRk
This depends highly on what is happening to the variables
keyandcodein the native C function. Based on the signature I am guessing thatcodeis being read from andkeyis being written to. If that is the case then try the following signature