1. LNK2019: public: wchar_t const * __thiscall nsAString::BeginReading(void)const
设置VC编译选项 /Zc:wchar_t-
To set this compiler option in the Visual Studio development environment
-
Open the project's Property Pages dialog box. For details, see Modifying Project Settings.
-
Click the C/C++ folder.
-
Click the Language property page.
-
Modify the Treat wchar_t as Built-in Type property.
2. error C3861: 'do_GetService': identifier not found
#include <nsServiceManagerUtils.h>