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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:53:49+00:00 2026-06-05T17:53:49+00:00

My application uses a 3rd party dll. If I remove myapp.exe.local file from my

  • 0

My application uses a 3rd party dll. If I remove myapp.exe.local file from my application directory and some application that uses the same dll with different version which will be register or in system32 directory, will my application run successfully? Which dll will be used?

And which directory will get preference – local application directory or registered or system32?

  • 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-05T17:53:50+00:00Added an answer on June 5, 2026 at 5:53 pm

    The app.exe.local file solves a DLL Hell problem for COM servers. Which have a key in the registry that specifies the location of DLL. That key is found through a guid, the CLSID of the coclass. HKLM\Software\Classes\CLSID contains the guids.

    A hard requirement for COM is that the guid must be changed when you make a breaking change in the code for the server. That’s however often skipped, it causes pain because changing the guid also requires recompiling the app that uses the component. Or the change was meant as a bug fix, non-breaking, but causes a problem in another app nonetheless.

    By using the app.exe.local file, you force COM to always load the DLL that’s stored in the same folder as the EXE, ignoring the path specified in the registry. Thus allowing apps to have different versions of the DLL, even though the registry can specify only one. So if you delete that file, odds are good that you’ll either immediately break the app or be subjected to DLL Hell when another app updates the DLL.

    The MSDN article is here. Google cache of it is here, MSDN has been pretty borken lately.

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

Sidebar

Related Questions

I have a Unicode Win32 application that uses 3rd party libraries, some of which
Hi I am using a 3rd party library in my iPhone application that uses
I am writing an application that uses 3rd party libraries to instantiate and make
I want to create a shared library that uses functions from a 3rd-party static
i am trying to make a 3rd party simple standalone/swing application that uses hibernate
I have an application, which uses some 3rd party libraries, for example Tesseract library.
Will apple allow an application that uses only 3rd party ad APIs like the
I have a 3rd party DLL that I need to use in my application.
I have a WPF application that uses 3rd party controls (like http://navigationpane.codeplex.com ) which
We have Win Forms application uses the 3rd party windows native controls. Can these

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.