Beats me, Pete -- I'm just an idea man.  Try it out, and let us know how
you fare...

But if you're worried about its undocumented nature, go ahead and write the
eextra few lines of code to call CorBindToRuntimeEx,
AppDomain.CreateInstance, etc.  Same thing, pretty much -- no COM registry
lookups.

-S

On Wed, 11 Feb 2004 21:13:46 -0500, Pete Moss <[EMAIL PROTECTED]>
wrote:

>Shawn and Allan,
>
>Re IDispatch and REGASM, you are probably right.
>
>Let me see if I understand this.
>
>If I do NOT use ClrCreateManagedInstance(), I would have to register the
>Assembly, correct? How else could CoCreateInstance() create an instance of
>the class?
>
>And if I support custom or dual interfaces, I MUST use REGASM. Correct?
>
>But if I use ClrCreateManagedInstance(), this effectively replaces
>CoCreateInstance() and uses the full name of the class object (avoiding a
>Registry lookup). If this is true AND I support IDispatch, then I could
>avoid REGASM.  Is this correct?
>
>Thanks,
>Pete
>
>===================================
>This list is hosted by DevelopMentor�  http://www.develop.com
>Some .NET courses you may be interested in:
>
>NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles
>http://www.develop.com/courses/gaspdotnetls
>
>View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to