Page 1 of 1

convert System::String^ to PWSTR?

Posted: Wed Apr 25, 2007 10:52 am
by c.h.r.i.s
Hi!
There is a function that will read input from the console: System::String^ mystring System::Console::ReadLine();

And i have another function that requires a PWSTR as input.

I have googled around but i can find no solution how to convert String to PWSTR.

I need this because i want to develop a p2p class for irrlicht using microsofts ipv6 standart and graphing technology.

Any Ideas?

Posted: Wed Apr 25, 2007 12:41 pm
by Luben