TCHAR is defined as either char if UNICODE is not defined and wchar_t if UNICODE is defined.
_t presumably stands for "type".
To learn windows, you must learn your way around MSDN:
MSDN...
Type: Posts; User: oogabooga
TCHAR is defined as either char if UNICODE is not defined and wchar_t if UNICODE is defined.
_t presumably stands for "type".
To learn windows, you must learn your way around MSDN:
MSDN...
Since c_str returns a pointer to the raw characters of the string object, you need to define tempString as
const TCHAR* tempString;