Why the COM Client cannot activate the COM server generated by hosting code

Source: Internet
Author: User

Last night, I was so tired that I was so bored that I was always confused when I got the result for three or more nights: I was unable to create objects by calling C # exported class libraries using vc6, And I used VB to do the same. Re-examine the interface definition and consciously regulate it. How can this problem be solved?
Looking at the framework design guide, I suddenly found the following sentence:

If there is no common default constructor (constructor without parameters), the COM Client cannot create this type.

God!

 I have no default structure! Standards are standards.

Wrong. It's still not that simple, or the error of not finding the object is reported, depressing! Is it because my C # component references too many other managed dynamic libraries ?...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.