无法解析的外部符号__imp__AlphaBlend@44

使用Win32 API函数AlphaBlend编译时出现一个错误:无法解析的外部符号__imp__AlphaBlend@44。

解决办法是在使用得地方包含Msimg32.lib,具体是在文件头部添加代码:

#pragma comment(lib, "Msimg32.lib")  

原文地址:https://www.cnblogs.com/AlexanderZhao/p/12878992.html