Click to See Complete Forum and Search --> : STL and CLR


Archimedes
April 27th, 2005, 11:30 AM
i have run across a minor headache. I want to use the STL for lots (mostly personal) of reasons, but I also have to use managed extensions. cool, except when it comes to the basic reason i want to use the STL, strings. converting from STL string to CLR String is no problem, i just use string.c_str(), and it converts; but going the other way, getting a String _gc* and trying to turn it into a string doesn't seem quite possible. Is there a way to do this? nothing in the msdn has been much help.

Archimedes
April 27th, 2005, 06:13 PM
Well, I managed to answer my own question. :sick:
The answer can be found here: http://support.microsoft.com/default.aspx?scid=kb;EN-US;311259 (Q311259)