K
Krzysztof
I must use methods from standard dll im my C#code. In dll declaration of
method is like this:
typedef (__stdcall *ExecuteTaskFromXML)( const string& input, string&
output, DWORD& dwSize, LPVOID& pCtx );
How can I import (and use of course) this method? I try:
[DllImport("ExportDll.dll")]
public static extern void ExecuteTaskFromXML(String input, ref String
output, int dwSize, int pCtx);
but I've got error: System.NullReferenceException. (on String output)
What I must do? Some sample, docs or "entry point in codeproject"
) will
be best for me...
Please help
Regards
Krzysztof
method is like this:
typedef (__stdcall *ExecuteTaskFromXML)( const string& input, string&
output, DWORD& dwSize, LPVOID& pCtx );
How can I import (and use of course) this method? I try:
[DllImport("ExportDll.dll")]
public static extern void ExecuteTaskFromXML(String input, ref String
output, int dwSize, int pCtx);
but I've got error: System.NullReferenceException. (on String output)
What I must do? Some sample, docs or "entry point in codeproject"

be best for me...
Please help
Regards
Krzysztof