应该包含什么库才能使用TransparentBlt?

发布于 2024-07-06 08:54:34 字数 360 浏览 7 评论 0原文

应该包含什么库才能使用TransparentBlt?

这是链接到 Gdi32.lib 的 VC98 (Visual Studio 6)。 (其他 GDI 函数如 BitBlt 按预期链接),并且编译器编译时不会出现错误或警告。

即使包含 Gdi32.lib,链接器也会返回此错误:

mtcombo.obj : error LNK2001: unresolved external symbol __imp__TransparentBlt@44
C:\Work\Montel\Targ2_12\guitest.exe : fatal error LNK1120: 1 unresolved externals

我缺少什么?

What library should be included to use TransparentBlt?

This is VC98 (Visual Studio 6) linking to the Gdi32.lib. (Other GDI functions such as BitBlt link as expected), and the compilers compiles with out error or warning.

Even though the Gdi32.lib is included, yet the linker returns this error:

mtcombo.obj : error LNK2001: unresolved external symbol __imp__TransparentBlt@44
C:\Work\Montel\Targ2_12\guitest.exe : fatal error LNK1120: 1 unresolved externals

What am I missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

み零 2024-07-13 08:54:34

Msimg32.lib

仅供参考,您可以在 http://msdn.microsoft.com/library 上搜索函数并在底部它会告诉你你需要什么库。

Msimg32.lib

FYI you can search the functions on http://msdn.microsoft.com/library and at the bottom it will tell you what library you need.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文