Error 21 error C3861: 'wcstok_s': identifier not found D:\Microsoft Visual Studio 10.0\VC\include\tchar.h 794
今天在编译nodepad++ 一个插件的时候编译的时候竟然出现上面的一个错误,找了很久都没有办法解决。
LocationNavigate.cpp
#include "PluginDefinition.h"
#include <shlwapi.h>
#include <tchar.h> //就是这里报错了
#include "LNhistoryDlg.h"
#include <list>
#include<WinBase.h>
修改一下包含的顺序就可以解决了
#include <tchar.h>
#include "PluginDefinition.h"
#include <shlwapi.h>
#include "LNhistoryDlg.h"
#include <list>
#include<WinBase.h>