This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
Microsoft Logo
Gray Pipe
Developer Network Developer Network Developer
Sign in

Subscriber portal

Get tools
  • Downloads
    • Visual Studio
    • SDKs
    • Trial software
      • Free downloads
      • Office resources
      • SharePoint Server 2013 resources
      • SQL Server 2014 Express resources
      • Windows Server 2012 resources
  • Programs
    • Subscriptions
      • Overview
      • Administrators
    • Students
      • Microsoft Imagine
      • Microsoft Student Partners
    • ISV
    • Startups
    • Events
  • Community
    • Magazine
    • Forums
    • Blogs
    • Channel 9
  • Documentation
    • APIs and reference
    • Dev centers
    • Samples
    • Retired content
search clear
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
IDE and Development Tools Building C/C++ Programs DLLs in Visual C++
DLLs in Visual C++ DLL Frequently Asked Questions
DLL Frequently Asked Questions
DLL Frequently Asked Questions
Walkthrough: Creating and Using a Dynamic Link Library (C++)
Differences Between Applications and DLLs
Advantages of Using DLLs
Kinds of DLLs
DLL Frequently Asked Questions
Can a multithreaded application access an MFC DLL in different threads?
Can an MFC DLL create multiple threads?
Are there any MFC classes or functions that cannot be used in an MFC DLL?
What optimization techniques should I use to improve the client application's performance when loading?
There's a memory leak in my regular DLL, but my code looks fine. How can I find the memory leak?
Linking an Executable to a DLL
Initializing a DLL
Run-Time Library Behavior
LoadLibrary and AfxLoadLibrary
GetProcAddress
FreeLibrary and AfxFreeLibrary
Search Path Used by Windows to Locate a DLL
Module States of a Regular DLL Dynamically Linked to MFC
Extension DLLs
Creating a Resource-Only DLL
Localized Resources in MFC Applications: Satellite DLLs
Importing and Exporting
Active Technology and DLLs
Automation in a DLL
Naming Conventions for MFC DLLs
Calling DLL Functions from Visual Basic Applications
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.

DLL Frequently Asked Questions

Visual Studio 2015
Other Versions
  • Visual Studio 2013
  • Visual Studio 2012
  • Visual Studio 2010
  • Visual Studio 2008
  • Visual Studio 2005
  • View all retired versions
 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at MFC DLL Frequently Asked Questions.

Following are some frequently asked questions (FAQ) about DLLs.

  • Can a multithreaded application access an MFC DLL in different threads?

  • Can an MFC DLL create multiple threads?

  • Are there any MFC classes or functions that cannot be used in an MFC DLL?

  • What optimization techniques should I use to improve the client application's performance when loading?

  • There's a memory leak in my regular DLL, but my code looks fine. How can I find the memory leak?

See Also

DLLs in Visual C++

Show:
Print Export (0)
Print Share
IN THIS ARTICLE
    Is this page helpful?
    Additional feedback?
    1500 characters remaining
    Thank you! We appreciate your feedback.

    Dev centers

    • Windows
    • Office
    • Visual Studio
    • Microsoft Azure
    • More...

    Learning resources

    • Microsoft Virtual Academy
    • Channel 9
    • MSDN Magazine

    Community

    • Forums
    • Blogs
    • Codeplex

    Support

    • Self support

    Programs

    • BizSpark (for startups)
    • Microsoft Imagine (for students)
    United States (English)
    • Newsletter
    • Privacy & cookies
    • Terms of use
    • Trademarks
    logo © 2017 Microsoft
    © 2017 Microsoft