佚名通过本文主要向大家介绍了com技术内幕,com技术内幕pdf,com技术,微软com技术,com组件技术等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: COM技术内幕第13章的例程怎样才能编译成功?
描述:
解决方案1:
描述:
编译之后出现如下提示,为什么? Performing Custom Build Step on ..\idl\canvas_i.idl
Microsoft (R) MIDL Compiler Version 5.01.0164
Copyright (c) Microsoft Corp 1991-1997. All rights reserved.
midl : command line error MIDL1001 : cannot open input file canvas_i.idl
Error executing c:\winnt\system32\cmd.exe.
Canvas.dll - 1 error(s), 0 warning(s)
解决方案1:
文件存在,你看看路径设置对吗?
还有,去掉文件只读属性
你需要将IDL文件夹中的相关IDL文件拷贝到对应工程的文件夹中编译,还需要修改一些包含了COMMON文件夹中文件的包含路径!
解决方案3:canvas_i.idl?文件存在吗?