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

Reply via email to