G
Guest
I have a C++ dialog that is sending a message to my C# window and I need to
pass a string* back in the result of the message. On the C++ side this result
is cast as a CString*. How do I create this string on the C# side and convert
it to an IntPtr? My first guess is to allocate memory and copy the string to
it and then let the C++ app clean it up.
Thanks
Kurt
pass a string* back in the result of the message. On the C++ side this result
is cast as a CString*. How do I create this string on the C# side and convert
it to an IntPtr? My first guess is to allocate memory and copy the string to
it and then let the C++ app clean it up.
Thanks
Kurt