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 8179025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:54:38+00:00 2026-06-06T23:54:38+00:00

I’m currently trying to use the example project Com App which is given with

  • 0

I’m currently trying to use the example project Com App which is given with the Qt installation (Qt_folder\Examples\4.7\activeqt\comapp)

I’m using version 4.7.4 on Windows, Qt Creator 2.3.0 and MinGw compiler.

So the example project compiles and runs fine, but it seems the COM server informations are not registered into the registry because I’m not able to reach it from any scripts, and I also cannot find UID in the registry, meaning that the COM server is not registered.

I’m trying to find a solution from 3 days ago and I’m starting to be desperate.
Any help is welcome.

p.s. Sorry for my english, it’s not my native language

  • 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-06-06T23:54:39+00:00Added an answer on June 6, 2026 at 11:54 pm

    Not sure if Qt looks after this under the hood but are you sure that your thread is being initialized for COM by calling CoInitializeEx?

    I’ve been using some COM and Qt at work and this is sometimes something is overlooked.

    CoInitializeEx Function

    Here is an example of using the function.

    MyClass::MyClass()
    {
        // Make this call before attempting to access COM.
        if( SUCCEEDED( CoInitializeEx( 0, COINIT_APARTMENTTHREADED ) ) )
        {
             // This single thread has been initialized for COM usage.
             // Alternatively you can use COINIT_MULTITHREADED instead
             // of COINIT_APARTMENTTHREADED if you require threaded
             // support.
        }
        else
        {
             // Failed, still must call uninitialize.
             CoUninitialize();
        }
    }
    
    MyClass::~MyClass()
    {
        CoUninitialize();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use RestKit on my app, and currently using master on
I'm currently trying to use the latest stable fmod ex in my project. I
I am currently trying to use this gem http://github.com/pengwynn/linkedin . Everything works fine (i.e.
I am currently developing an Android-App in Eclipse and trying to use a Library
I'm currently trying to develop a project based upon Firemonkey. I'm using Firemonkey for
I'm trying to use the Knockout Concurrency plugin in my project, and I'm currently
I am currently trying to use AJAX in my application via jRails. I am
I'm having trouble editing an XML file. I'm currently trying to use Nokogiri ,
currently i'm trying to use imagick to generate some images without saving them on
I am currently trying to research how to use Android with an existing java

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.