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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:20:28+00:00 2026-05-29T06:20:28+00:00

We have an in-house code C++ COM library. We are currently consuming the library

  • 0

We have an in-house code C++ COM library. We are currently consuming the library from a C# application. Works fine.

However, the registration and unregistration of COM objects is tedious and is starting to be a problem for users upgrading to win7 due to the need for running the registration with admin priviledges (not possible directly from our Click-once application).

So… Since we really have no reason for using the library through COM (it’s coded as COM for historic reasons), we’d like to switch to just exposing methods as ‘plain exports’.

First attempt was just exposing the methods next to the COM Classes. Looks fine through appropriate tools for inspecting dlls.

Now, when I remove the COM reference in VS and include the dll by just ‘browsing’ in the add-reference dialog, it is still treated as a COM object and the dll is not included in output as I would expect.

Is it ‘illegal’ to use a COM library as simple dll? What is the best way through this problem?

Thanks for any input!

Anders, Denmark

  • 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-29T06:20:29+00:00Added an answer on May 29, 2026 at 6:20 am

    You cannot use the add references dialogs to add a DLL, even if it wasn’t a COM one. Now as it is COM it recognizes it and loads it at a COM object.

    The simplest solution is probably to use registration free COM, which means you can deploy the DLL with your application rather than actually having to register it, but you still talk to it as a COM object. It is just a case of manipulating your manifest file.

    Try the tool at here to help you generate the manifest, or a search on here for registration free COM.

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

Sidebar

Related Questions

I currently have a functioning in-house Windows Forms application which extensively uses the DataGridView
We have an in-house application that pulls some data from some of Amazon's pages
We have a software house developing code for us on a project, .NET Web
We have an in house winform application that is used by about 20 users
I have a windows form application that uses a Shared class to house all
I have an in-house HTTP server written in Java; full source code at my
I have the following code: <table id=box-table-a class=tablesorter> <thead> <tr> <th scope=col>B-House/Dorm Name</th> <th
I have following code, after five tries (wrong words like dfasfasfb) the application stops.
I have a map application using an in-house map engine on Android. I'm working
I have the following code: <?php $url = 'https://www.googleapis.com/shopping/search/v1/public/products?key=keyhere&country=US&q=xbox+360'; $data = curl_init($url); // Tell

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.