I recently switched from Dev-C++ to VS 2005 but when i try compiling this program:
Code:
#include "stdafx.h"
#include <windows.h>

int main()
{
     MessageBox(NULL,"Text.","Caption.",MB_OK);
     return 0;
}
it says that it can't convert char[4] to LPCWSTR.
This compiled perfectly fine in Dev-C++. Is there any setting that i need to change to get it to work?