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

  • Home
  • SEARCH
  • 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 531229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:16:45+00:00 2026-05-13T09:16:45+00:00

We have a mature c++ COM codebase that has been building, registering and running

  • 0

We have a mature c++ COM codebase that has been building, registering and running for many years. This includes numerous developer machines and autobuild machines.

The codebase builds several dlls and exes. Some of these are COM servers.

The typical setup is Xp64 using both visual studio 2005 and 2008.

We have both 32 bit and 64bit builds.

Suddenly our xp64 2005 autobuild machine is failing.
The only code change was a trivial change within a c++ helper method and an update to some version numbers.

The failure that we see is a failure to register the x64 release version of a dll.

The failure appears to be caused by a corrupt dll.
The dll builds successfully but attempts to register it fail with TYPE_E_CANTLOADLIBRARY.

The dll is supposed to have the type library built in (through an include in the rc file).

This has always worked before and still works on our other machines, xp64 VS 2005 and 2008.

When inspecting the binary of the broken dll the typelibrary idl source can be seen – although it is at a different location than in a non broken version of the dll.

The broken dll fails to register on our other machines – the same machines successfully register their own local builds of the same dll.

Oleview also fails with the same error when opening the dll.

I’m looking for any suggestions or similar experiences that might help?

  • 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-13T09:16:46+00:00Added an answer on May 13, 2026 at 9:16 am

    Well I think we have nailed this as a visual studio bug.

    We found that the path where our autobuild runs had recently been changed – increasing the absolute pathname lengths of any files that the compiler generates.

    We also know that 64bit release build’s target folder would have the longest pathname of any of our configurations.

    We have shortened the path (by renaming our top level directory under which our source tree is checked out) and the problem looks to have gone away – obviously we will repeat this a few times to make sure it isn’t a fluke.

    I’m thinking that when visual studio inserts absolute paths name in the binary – as it still does – it might be overunning on a buffer…and corrupting the binary.

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

Sidebar

Ask A Question

Stats

  • Questions 271k
  • Answers 271k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer No, you need an initialisation list: Test::Test(void) : anInstance( parameters)… May 13, 2026 at 1:38 pm
  • Editorial Team
    Editorial Team added an answer If you want a simple calendar with a deadline circled,… May 13, 2026 at 1:38 pm
  • Editorial Team
    Editorial Team added an answer You may want to consider modelling your database as follows:… May 13, 2026 at 1:38 pm

Related Questions

I am working on a .NET-based server component that talks to a set of
I know that there are a lot of discussions already on SO about SOAP,
My team is planning to develop an application that is initially targeted for Windows
We have a pretty mature COM dll, which we test using DUnit. One of
Our product currently spans a large number of technologies, including Java, PL/SQL, VB.Net and

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.