开发者

Visual c++ import libx264.a error

The x264 code source has been compiled into libx264.a by msys,the following step is a new created MFC project has been imported with ole32.dll and libx264.a in visual c++ 2005/.

The Debug aplication runs good. However,one release jumped a message box showed that "the input program of CreateItemMoniker can not be located on the Dynamic Link Library of crtdll.dll".

Dependency Walker showes that "Error: At least one module has an unresolved import due to a miss开发者_运维百科ing export function in an implicitly dependent module."


Well, the message is accurate. CreateItemMoniker is imported from ole32.dll, not from "crtdll.dll". Which in itself is an odd DLL name, it dates back to the 16-bit version of Visual Studio.

You are linking an invalid import library. That possibly started with "libx264.a", that's a library that was created by the GCC toolchain. You have to link to ole32.lib to get a proper reference for CreateItemMoniker.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜