15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Ole automation server metho

Derek Bernhart -- derek_bernhart@affymetrix.com
Wednesday, August 28, 1996

Environment: MSVC 4.2 Windows NT 4.0

Is there a limit on the number of properties and/or methods an interface
can expose through ole automation.

Thanks,
Derek





Mike Blaszczak -- mikeblas@nwlink.com
Wednesday, September 11, 1996

At 08:28 AM 8/28/96 -0800, you wrote:
>Environment: MSVC 4.2 Windows NT 4.0

>Is there a limit on the number of properties and/or methods an interface
>can expose through ole automation.

On paper, no.  You'll probably hit some limit in the MIDL compiler or in
other tools that make, manage, or view type library information, though.
I don't think these limits are documented anywhere.

You should think more about usability: if you're creating an interface
with 200 methods on it, you really should reconsider your design.  You
should seriously consider factoring your interface into other smaller,
more understandable, more easily maintainable interfaces.


.B ekiM
http://www.nwlink.com/~mikeblas/
These words are my own. I do not speak on behalf of Microsoft.





| Вернуться в корень Архива |