R
Rudolf Meier
Hi
I try to build a C++/CLI DLL as a Wrapper for my C++ DLL... now, this works
more or less if I only have input-parameters... but I have a function like
this in native C++
void GetParams(BOOL* p_bool, int* p_int, wchar_t* p_str);
And those parameters are filled by this function (and yes, I know that the
buffer behind p_str has to be large enough to do this)... now, my problem
is, how can I write a C++/CLI Wrapper function for this and how do I call
this in C#??
I tryed to use BOOL^ and calling it by "ref myBOOL" and all those things,
but all I got were compiler errors... so, I hope someone can help me here...
thanks
MR - Rudolf Meier
I try to build a C++/CLI DLL as a Wrapper for my C++ DLL... now, this works
more or less if I only have input-parameters... but I have a function like
this in native C++
void GetParams(BOOL* p_bool, int* p_int, wchar_t* p_str);
And those parameters are filled by this function (and yes, I know that the
buffer behind p_str has to be large enough to do this)... now, my problem
is, how can I write a C++/CLI Wrapper function for this and how do I call
this in C#??
I tryed to use BOOL^ and calling it by "ref myBOOL" and all those things,
but all I got were compiler errors... so, I hope someone can help me here...
thanks
MR - Rudolf Meier