What is causing this error? I google\'d it and first few solutions I found were that something was wrong with the library and the main function but both seem to be fine in m
In my case, the argument type was different in the header file and .cpp file. In the header file the type was std::wstring and in the .cpp file it was LPCWSTR.