convert System::String^ to PWSTR?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
c.h.r.i.s
Posts: 41
Joined: Mon Jan 22, 2007 8:38 pm

convert System::String^ to PWSTR?

Post 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?
Luben
Posts: 568
Joined: Sun Oct 09, 2005 10:12 am
Location: #irrlicht @freenode

Post by Luben »

If you don't have anything nice to say, don't say anything at all.
Post Reply