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.
Programming Guide General Concepts DLLs
DLLs DLL Frequently Asked Questions
DLL Frequently Asked Questions
DLL Frequently Asked Questions
Differences Between Applications and DLLs
Advantages of Using DLLs
Kinds of DLLs
Differences Between Win16 and Win32 DLLs
DLL Frequently Asked Questions
How do I port my 16-bit DLL to a Win32 DLL?
How do I convert my USRDLL to a regular DLL that uses the MFC shared library?
How do I export data from a DLL?
How do I share data in my DLL with an application or with other 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?
How do I debug my 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?
How do I create a modal dialog box from within a regular DLL?
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.
Recommended Version
This documentation is archived and is not being maintained.

DLL Frequently Asked Questions 

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

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

  • How do I port my 16-bit DLL to a Win32 DLL?

  • How do I convert my USRDLL to a regular DLL that uses the MFC shared library?

  • How do I export data from a DLL?

  • How do I share data in my DLL with an application or with other 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?

  • How do I debug my 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?

  • How do I create a modal dialog box from within a regular DLL?

See Also

Concepts

DLLs

Show:
Print Export (0)
Print Share
IN THIS ARTICLE

    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