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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:12:31+00:00 2026-05-27T14:12:31+00:00

In my application certain dll’s are only required for specific operations that will not

  • 0

In my application certain dll’s are only required for specific operations that will not occur for the 99.9% of usage operation. So to save on load time and memory these are loaded dynamically loaded as required using LoadLibrary.

To keep the user informed and the program responding the libraries are being loaded on a sperate thread and then notifying the UI thread when they are available and the process can continue.

However in my experimentation while LoadLibrary is operating the UI thread is locked and the event queue is not being processed anyway making that application lock and the screen is no longer redrawn.

MSDN on LoadLibrary does not mention this behaviour is it possible to have a dll loaded in one thread while the event queue is still being processed?

  • 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-27T14:12:32+00:00Added an answer on May 27, 2026 at 2:12 pm

    There is no issue when loading dlls asynchronously it was to do with the Visual Studio Debugger looking up symbols for the newly loaded dlls from the symbol servers.

    When symbol servers are disabled or the application run without a debugger there is no locking present the execution of LoadLibrary

    Debugging Symbols

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

Sidebar

Related Questions

I have a certain web application that makes upwards of ~100 updates to an
I want certain functions in my application to only be accessible if the current
I am busy coding a dll that supplies several functions to a host application.
I've written a small console application to wrap a third-party DLL that has issues.
I have a Delphi 6 application that sends bitmaps to a DirectShow DLL in
I am working on an application where certain SQL Server queries will be limited
My scenario is as follows: my application depends on a certain DLL (I use
Scenario - I am writing a console application. Need to use a certain DLL
I am trying to extend a certain application. I am using a DLL which
I'm making a dll that has to respond to an application's requests. One of

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.