fatal error c1189: #error: Need to include strsafe.h after tchar.h
我下载了Nvidia SDK 9.5,和Windows SDK for Vista,开发环境是VS .net 2005
在NVidia SDK 9.5中有一个例子,叫做VideoFilter,但是我编译不过去,出现错误:
fatal error c1189: #error: Need to include strsafe.h after tchar.h
但是如果我把所有
#include <tchar.h>
的文件都改成:
#include <tchar.h>
#include <strsafe.h>
则会出现很多 error C2226: syntax error: unexpected type 'LPSTR'之类的错误。
请问如何解决?
谢谢!