Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 14258
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: Wed May 14 19:43:18 CEST 2025

Total time taken to generate the page: 0.02941 seconds