G 
		
								
				
				
			
		Guest
DWORD _stdcall DLLFunction(DWORD Num, CHAR *Str);
I call the above dll function from a C++ app. Now I need to call it from my
C# app. How can I do it?
[DllImport("MyDll.dll")]
public static extern int DLLFunction(int Num, string Info);
int Num;
string Info = new string(' ', 80);
DLLFunction(Num, Info);
I cannot get anything in variable Info. Please help. Thanks.
				
			I call the above dll function from a C++ app. Now I need to call it from my
C# app. How can I do it?
[DllImport("MyDll.dll")]
public static extern int DLLFunction(int Num, string Info);
int Num;
string Info = new string(' ', 80);
DLLFunction(Num, Info);
I cannot get anything in variable Info. Please help. Thanks.
	