ÿþ<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=unicode" /> <meta http-equiv="Content-Language" content="en-us" /> <title>A complete Windows Dynamic Link Library (DLL) programming tutorials </title> <meta name="keywords" content="DLL, dynamic link library, applications, programming, tutorials, code examples, program samples, development, projects, computers, Windows system" /> <meta name="description" content="This is an index page for Win32 Windows Dynamic Link Library (DLL) programming tutorial with code and program examples using Visual Studio IDE" /> </head> <body topmargin="20" leftmargin="20" rightmargin="20" bottommargin="20"> <table border="0" width="100%"> <tr> <td colspan="2"> <h1 align="center" style="margin-top:0; margin-bottom:0"> <font face="Batang"><span style="font-weight: 400">The Windows Dynamic Link Library (DLL) Win32 Programming</span></font></h1> </td> </tr> <tr> <td colspan="2"> <p align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "2156170134"; google_ad_width = 728; google_ad_height = 15; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> </td> </tr> <tr> <td width="7%" align="center"> <h3> <font face="Byington"><span style="font-weight: 400"> <a title="The Win32 programming tutorial using Visual Studio, C and C++ languages" target="_top" href="index.html"> HOME</a></span></font></h3> <p>&nbsp;</p> <p>&nbsp;</p> <p> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "3614899554"; google_ad_width = 160; google_ad_height = 600; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> <p align="left">&nbsp;</p> <p align="left">&nbsp;</p> <div align="center"> <script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=160X600&cwpid=527221&cwwidth=160&cwheight=600&cwpnet=1&cwtagid=82739"></script> </div> </td> <td width="92%"> <h1 style="margin-bottom:0mm;margin-bottom:.0001pt"> <font size="5" face="Times New Roman"> <span style="line-height:115%; font-family:&quot;Arial&quot;; font-weight:400">What do we have in this session?</span></font></h1> <p style="margin-bottom:0mm;margin-bottom:.0001pt"> <font face="Arial">This is one of the important topics in Windows system programming. DLL is another form of &#39;executable&#39; that have some advantageous compared to standard EXE. However DLL also creates many problems if not properly used.</font></p> <ol> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9.html">Intro</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Types of Dynamic Linking</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">DLLs and Memory Management</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Advantages of Dynamic Linking</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_1.html">Dynamic-Link Library Creation</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Creating Source Files</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Exporting Functions</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Creating an Import Library</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Using an Import Library</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_2.html">Dynamic-Link Library Entry-Point Function</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Calling the Entry-Point Function</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Entry-Point Function Definition</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Entry-Point Function Return Value</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_3.html">Load-Time Dynamic Linking</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Run-Time Dynamic Linking</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Dynamic-Link Library Search Order</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Standard Search Order</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Alternate Search Order</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_4.html">Dynamic-Link Library Data</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Variable Scope</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Dynamic Memory Allocation</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Thread Local Storage</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Dynamic-Link Library Redirection</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Dynamic-Link Library Updates</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_5.html">Using Dynamic-Link Libraries: Program Examples</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Creating a Simple Dynamic-Link Library Example</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_6.html">Using Load-Time Dynamic Linking Example</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_7.html">Using Run-Time Dynamic Linking Program Example</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_8.html">Using Shared Memory in a Dynamic-Link Library Example</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">DLL that Implements the Shared Memory</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_9.html">Processes that Use the Shared Memory Program Example</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <span style="font-weight: 400"><font face="Byington"> <a href="dynamiclinklibrarydll9_10.html">Another Example Using Shared Memory</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_11.html">Using Thread Local Storage in a Dynamic-Link Library Program Example</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="dynamiclinklibrarydll9_12.html">Using the DLL</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <a href="dynamiclinklibrarydll9_13.html"> <span style="font-weight: 400"><font face="Byington">Dynamic-Link Library Functions</font></span></a></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Obsolete Functions</span></font></h3> </li> </ol> </td> </tr> <tr> <td colspan="2"> <p align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "0761177910"; google_ad_width = 728; google_ad_height = 90; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> </td> </tr> <tr> <td colspan="2"> <h3 align="center" style="margin-top: 0; margin-bottom: 0"> <font face="Byington"><span style="font-weight: 400">&lt; <a style="color: blue; text-decoration: underline" title="The Windows Win32 Character Mode Application Programming tutorials" href="winconsolecharapplication8index.html"> Character Mode Application Win32 Programming</a> | <a title="The Win32 programming tutorial using Visual Studio, C and C++ languages" style="color: blue; text-decoration: underline" href="index.html"> Win32 Programming</a> | <a title="An introduction to Windows Dynamic Link library (DLL)" style="color: blue; text-decoration: underline" href="dynamiclinklibrarydll9.html"> Windows DLL 1</a> &gt;</span></font></h3> <div align="center"> <script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=728X90&cwpid=527221&cwwidth=728&cwheight=90&cwpnet=1&cwtagid=82740"></script> </div> </td> </tr> </table> </body> </html>