P
Peter Nolan
Hi All,
I have some older C++ code that reads databases via ODBC and converts
data to C++ null delimited strings. I amd writing a tool to read
these types of old C strings and update an XML file.
The XML file is being loaded by managed classes. I want to convert a
c string to a C++.net string class. Or, more correctly, take a C
string and put it into a C++.net string. Something like the following:
char* test_string1
strcpy(test_string1,"This is test string1")
and get it into a structure/array that has String data types....
I've been reading about __box etx but I have not been able to figure
this one out and get it to work. Any/all advice most welcome.
Peter Nolan
I have some older C++ code that reads databases via ODBC and converts
data to C++ null delimited strings. I amd writing a tool to read
these types of old C strings and update an XML file.
The XML file is being loaded by managed classes. I want to convert a
c string to a C++.net string class. Or, more correctly, take a C
string and put it into a C++.net string. Something like the following:
char* test_string1
strcpy(test_string1,"This is test string1")
and get it into a structure/array that has String data types....
I've been reading about __box etx but I have not been able to figure
this one out and get it to work. Any/all advice most welcome.
Peter Nolan