J
Jason Bell
I'm an experienced programmer, but a newbie to c#, so please be kind 
In a c++, unmanaged, DLL of my own making I have a function called
void XGL_Core_SetCaption(XGL_Core * core, char * caption);
Using DLLImport I've gotten all functions working except for the ones
requiring char * . Anyone care to inform me how to pass the contents of a
c# string to this c++ function? I've tried passing string and char[], with
no luck.
Any thoughts?

In a c++, unmanaged, DLL of my own making I have a function called
void XGL_Core_SetCaption(XGL_Core * core, char * caption);
Using DLLImport I've gotten all functions working except for the ones
requiring char * . Anyone care to inform me how to pass the contents of a
c# string to this c++ function? I've tried passing string and char[], with
no luck.
Any thoughts?