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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:58:22+00:00 2026-05-23T04:58:22+00:00

Let’s say you have two products A and B which are both developed, tested

  • 0

Let’s say you have two products A and B which are both developed, tested and released at the same time by the same company. In the interests of code reuse and not doing the work twice, a third source control branch, C, gets created where low-level utility/framework/helper code is placed. This code includes some COM dlls.

Then the management decides that A and B should really have their own release cycles and be managed as completely separate products. Now you can’t modify/update C anytime you want because when one team is working on A, another team could be 2 weeks from releasing B so any code going into B (that also includes C) needs to be frozen.

The solution I see is to take C out and make it a stand alone SDK which both A and B would depend on. This SDK would have it’s own versioning scheme and its own release cycle. This way A could commit to using C-1.2.4 and if B needs something newer it can make changes in C-1.3.8

The problem I’m trying to solve now is how to handle COM DLLs given that it could be possible that both A and B could be installed on the same machine. I see three options but not sure which one is good/better or if there’s even another option I’m not seeing:

  1. Every time version number changes, have some kind of script go through .IDL files and change all coclass GUIDs. Might work but for some reason seems scary to many people (myself included)
  2. Use registry-free COM activation. Would this work with executables not under our control? (graphedt.exe, iexplore.exe…).
  3. Make sure all COM objects going forward are backwards compatible and have both A and B use the latest version of the modules which are installed. This seems like testing nightmare because we’ll end up with machines and DLL combinations that haven’t been QA’ed.
  • 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-23T04:58:23+00:00Added an answer on May 23, 2026 at 4:58 am

    It’s been a while since I looked after a build or a release but I remember DLL HELL only to well! You have my sympathies!

    As you’ve alluded to create an common installation – install it to C:\Program Files\Common Files\YourProductOrCompany\Version and register them. you’ll need to keep backwards compatibility and version your msi (assuming you deploy with that) correctly. That way each installation can install the common package if it has a greater version.

    This worked well for us (around 8 products used a common core) but we had a comprehensive set of automated regression tests, so each time something was changed we could easily rerun the tests against the products.

    And there came points where the changes were considered to great and the common component version was changed (including all the ClassIDs etc..). So you could have 10.1 and 11.1 running on the same machine using different cores.

    HTH,
    Matt

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

Sidebar

Related Questions

Let's say I have two tables orgs and states orgs is (o_ID, state_abbr) and
Let's say I have this string which I want to put in a multidimensional
Let's say I have a dataset, which can be neatly classified using weka's J48
Let say I have two UIViews: View1: - bounds: 0, 0, 20, 20 -
Let's say I have two assemblies: BusinessLogic and Web. BusinessLogic has an application setting
Let's say you have a class called Customer, which contains the following fields: UserName
Let's say I have two tables: Member ------------------------ | user_id | first_name | ------------------------
Let's say I have data string like this... one=1&two=2&three=3&four=4&two=2 I'm using php foreach to
Let's say I have an (x,y) that is always the same for the start
Let's say I have this MySQL table: OK.. see the type field? Type 0

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.