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.
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
OR is any code help for converting a char* value to TCHAR and TCHAR*
Thanks a lot.