KarstenK wrote:
";//if Unicode use the macro => TEXT("ABCDEF")
no, use TEXT() ( or _T() ) anytime you use CString with literals. if using CStringW, then prepend the literals with L, and if using CStringA, then don't do much as writing the literal like you normally do. _T() will extend to the unicode or ansi version depending on the compilation mode, so you don't have to bother about it.
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]