1.error LNK2001: 无法解析的外部符号 CLSID_ImagingFactory 和 IID_IImagingFactory
.h文件添加:#include <imaging.h>
.cpp文件添加:
#include <initguid.h>
#include <imgguids.h>
在imgguids.h里加上:
#pragma once
#include <initguid.h>
#include <Imaging.h>
其他两个头文件也加上#pragma once
-----------------
2. fatal error LNK1112: 模块计算机类型“ARM”与目标计算机类型“X86”冲突
解决方法:链接器 -> 命令行 -> 附加选项, 添加 /MACHINE:ARM /MACHINE:THUMB
fatal error LNK1112: 模块计算机类型“THUMB”与目标计算机类型“ARM”冲突
解决方法:
第1种&#