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

Home » U++ Library support » U++ Core » conversion from String to wchar_t
Re: conversion from String to wchar_t [message #46151 is a reply to message #46125] Fri, 18 March 2016 14:15 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
This should work, as long as sizeof(wchar_t) is 2:

String s;
....
WString h = s.ToWString();
wchar_t *t = (wchar_t *)~h;
 
Read Message
Read Message
Previous Topic: HtmlTable class example request
Next Topic: Please help! New transfer semantic issue!
Goto Forum:
  


Current Time: Sat Sep 05 11:59:13 GMT+2 2026

Total time taken to generate the page: 0.00743 seconds