Possible reasons for com registration failure to find the image file

Source: Internet
Author: User
1. Use depends to check whether other DLL files are referenced in COM. These DLL files are faulty.
2. Check the begin_object_map (objectmap) Table and check whether the registration is successful. If none of them are successfully registered, You can exchange the clisd sequence exposed in the table to check whether the resources corresponding to a CLSID are correct.
3. the RC and RGS files should also be carefully checked (E. XX in g rc. TLB has been written, RGS file has been lost). If the resources are wrong, it will also cause errors, and the resource compilation links in VC cannot be found.
4. Is the ATL. dll version correct?

Of course to be clear, the http://blog.csdn.net/newkey007/archive/2004/07/20/45806.aspx mentioned on the regsvr32 as the client, call the com method to do, slowly tracking.

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.