我是一个VC++新手,想做一个系统服务程序。写了一段程序编译的时候说:
error C3861: 'AtlHresultFromLastError': identifier not found
头文件也都加了,像#include "stdafx.h"
#include "resource.h"
#include "AtlShowJiSvc_i.h"
#include <stdio.h>
为啥 hr = AtlHresultFromLastError();这句话会报这样的错呢?实在不解,望各位老大救我
error C3861: 'AtlHresultFromLastError': identifier not found
头文件也都加了,像#include "stdafx.h"
#include "resource.h"
#include "AtlShowJiSvc_i.h"
#include <stdio.h>
为啥 hr = AtlHresultFromLastError();这句话会报这样的错呢?实在不解,望各位老大救我
??
这个也试了,不行啊真怪。。
ATL::AtlHresultFromLastError();