|
-
April 8th, 2003, 07:17 AM
#1
How many methods in an interface w9x?
Hi,
I get the following warning from the MIDL compiler:
MIDL2362: too many methods in the interface, requires Windows NT 4.0 SP3 or greater.
On
http://msdn.microsoft.com/library/de...ler_errors.asp
I found that
MIDL2362: too many methods in the interface, requires Windows NT 4.0 SP3 or greater
The maximum number of methods in an interface for versions of Windows NT prior to version
3.51 is 32. Windows NT 4.0 supports up to 110 methods in an interface. Windows NT 4.0 SP
3 supports up to 512 methods in a single interface.
I have indeed more then 110 methods in the interface.
My Question: how many methods in an interface are supported by w95, w98, w98se, winME?
thanks in advance,
Johan
-
April 8th, 2003, 07:43 AM
#2
Hi,
You can disable this warning using
Code:
#if (__midl >= 501)
midl_pragma warning( disable: 2362 )
#endif
Look in MSDN at Q241849
Regards,
Emanuel Vaduva
-
April 10th, 2003, 03:24 AM
#3
thank you for your reply!
Although it did not answer my question directly (I do not want
to disable the warning, I want to know if my ATL control is
gonna work on other platforms) I was able to find my answer
via the Q241849 you provided.
In that article there is a reference at the bottom to
170989, which contains the data I needed:
Currently the maximum number of methods in an OLE automation dual interface are:
Windows NT 4.0 - 110 methods
Windows NT 4.0 SP2 - 512 methods
Windows NT 4.0 SP3 - 1024 methods
Windows 95 - 512 methods
Windows 98 - 1024 methods
Windows 2000 and later, unlimited
thanks again.
regards,
Johan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|