Click here to Skip to main content
14,872,753 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
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

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.
Updated 20-Dec-10 23:55pm

1 solution

I found this with google (you know - that free search engine at[^]


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900