I recently switched from Dev-C++ to VS 2005 but when i try compiling this program:
it says that it can't convert char[4] to LPCWSTR.Code:#include "stdafx.h" #include <windows.h> int main() { MessageBox(NULL,"Text.","Caption.",MB_OK); return 0; }
This compiled perfectly fine in Dev-C++. Is there any setting that i need to change to get it to work?