C++ Fatal Error LNK1120: 1 unresolved externals

后端 未结 8 1272
[愿得一人]
[愿得一人] 2020-11-29 09:27

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

8条回答
  •  执笔经年
    2020-11-29 09:50

    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.

提交回复
热议问题