U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » String to std::string conversion
Re: String to std::string conversion [message #32851 is a reply to message #32848] Wed, 15 June 2011 07:16 Go to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
Hello, Artem.

Try this:
std::string tempPath;
FileSel file;

String path;
if (file.ExecuteSelectDir())
	path = ~file;

// Conversion from UPP::String to const tchar * to std::string
if (!path.IsVoid())
	tempPath = ~path;
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MSVC 10 to Upp conversion
Next Topic: HttpClient and language choice (HTTP_ACCEPT_LANGUAGE)
Goto Forum:
  


Current Time: Fri Sep 18 19:15:06 GMT+2 2026

Total time taken to generate the page: 0.00858 seconds