接口错误:双接口更新:不是成员 [英] Interface Error: Dual Interface Update: Not a member
问题描述
我用两种方法更新了ActiveX控件的接口.我编译了.idl文件并生成了ocx.该界面有89种方法.我收到以下被忽略的警告:
I updated an interface of an ActiveX control with two methods. I compiled the .idl file and generated the ocx. The interface had 89 methods. I got the following warning which I ignored:
warning MIDL2362: too many methods in the interface, requires Windows NT 4.0 SP3 or greater
我正在使用VC ++ 10.0编译器在装有SP3的WinXP上进行编译.因此,按照Microsoft文档进行操作,应该没有任何警告.
我通过调用这两种方法来更新了客户端应用程序.我编译了客户端,并验证了.tli和.tlh文件中是否已更新其他方法.但是,当调用方法时,我收到OLE错误不是成员".
我进行了调试,发现调度表没有其他方法的条目.如何解决此问题?
谢谢.
I am compiling on WinXP with SP3 installed, using VC++ 10.0 compiler. Hence, going by Microsoft Documentation, there should have been no warnings.
I updated the client application with a call to these two methods. I compiled the client and verified that additional methods have been updated in the .tli and .tlh files. However, when the methods are invoked, I am getting OLE error ''Not a member''.
I debugged and found that the dispatch table does not have an entry for additional methods. How do I resolve this issue?
Thank you.
推荐答案
我在google上发现了这个问题(您知道-在www.google.com上有免费的搜索引擎):
http://support.microsoft.com/kb/241849 [
I found this with google (you know - that free search engine at www.google.com):
http://support.microsoft.com/kb/241849[^]
这篇关于接口错误:双接口更新:不是成员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!