Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

QString to TCHAR and TCHAR*

$
0
0
Hi all, I am using a dll, which takes a TCHAR and TCHAR*parameter in its functions. and my GUI elements from QT are in the form of QString. QT uses UTF-8 encoding which has (TCHAR as WCHAR) I have been working since hours to figure out a way to convert a QString value to TCHAR / TCHAR* have tried many forms and types..still no joy. please can i get a code example to convert a QString value to TCHAR / TCHAR* QString Value to TCHAR tValue and QString Value to TCHAR* rValue Thanks.

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>