Hi,
I have a Win32 library for which the character set is preset to - Use Unicode Character Set and I want to use a WCHAR array for storing a string literal constant.
For example:
WCHAR string[] = "MyWideCharString";
When I compile the code I get the error that states:
Error 1 error C2440:
I tried using _T macro also,but I got a compile error again:
Error 1 error C3861:
So how can I use the WCHAR character arrays in my library?