Microsoft
Software
Hardware
Network
Question : Converting a TCHAR[] to string type in C++
Trying to append a TCHAR to a string and getting the following error:
cannot convert parameter 1 from 'TCHAR [260]' to 'const std::basic_string<_Elem,_T
raits,_Ax>
&'
Answer : Converting a TCHAR[] to string type in C++
You need to make sure you use the wide or narrow version of string according to the type TCHAR is compiled as. The simplest way is to use basic_string with a TCHAR.
1: 2:
TCHAR myTChar [260]; std::basic_string<TCHAR> myString(myTChar);
Random Solutions
Execute Immediate
Open Office Text and python: extract text word by word
dropdown validation
how to move email items from one folder to another on a schedule based on a date criteria in outlook.
How Do I update a DataSet after entering information into a "Detail View"
[Exchange 2010] - Change default Management Role - Prevent users from creating new Distribution groups
Automatically log into websites programmatically
count # of files in folder given a partial name
Select statement between 2 date ranges
Web Page Building