Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6175611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:57:18+00:00 2026-05-23T23:57:18+00:00

I have a third-party IDL file which, when compiled, generates a header and an

  • 0

I have a third-party IDL file which, when compiled, generates a header and an _i.c file. All three of these files are part of a Visual Studio 2010 project. (So far the project is empty other than attempted COM initialization stuff.)

I can get the project to compile by calling

CoInitialize(NULL);
CoCreateInstance(stuff);

At runtime CoCreateInstance() returns a “Class not registered” error.

Everything I can find on the Internet says to register a COM object by running regsvr32 on the DLL file or EXE file. However I only have an IDL file. I tried registering the EXE file generated by the project, but I got an error saying the module was “loaded but the entry-point DLLRegisterServer was not found.”

I’m honestly not sure what else to try.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:57:19+00:00Added an answer on May 23, 2026 at 11:57 pm

    IDL files define interfaces, not implementations. If literally all you have of this third-party component is an IDL file then you have nothing you could register.

    It’s possible that the IDL file describes interfaces you’re to implement that third-party code calls into; in that case you wouldn’t CoCreateInstance them, they might CoCreateInstance you. But given the amount of information, I’m leaning towards you’re missing the actual third-party component or you’re passing the wrong thing to CoCreateInstance.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a third-party jar file that comes with the javadocs for only part
I have a third-party product, a terminal emulator, which provides a DLL that can
I have a third party program which basically allows users to send email and
I have a third party flash object which i can manipulate through a javascript
I have a third-party application that's extensible by adding exe-files that perform dataconversion etc.
I have a third-party, closed source application that exports a COM interface, which I
I am including a third party header and source file into my project. At
I have a third party C# library for ldap operations. It does all operations
I have a third-party function which gives me a filtered queryset (e.g. records with
I have third party API which seems to depends internally on Windows event dispatching.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.