https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/101337&feed=atom&action=historyMicrosoft KB Archive/101337 - Revision history2024-03-28T15:46:12ZRevision history for this page on the wikiMediaWiki 1.39.3https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/101337&diff=431130&oldid=prevX010: X010 moved page Microsoft KB Archive/Q101337 to Microsoft KB Archive/101337 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/"2020-08-12T18:13:15Z<p>X010 moved page <a href="/wiki/index.php?title=Microsoft_KB_Archive/Q101337&action=edit&redlink=1" class="new" title="Microsoft KB Archive/Q101337 (page does not exist)">Microsoft KB Archive/Q101337</a> to <a href="/wiki/index.php?title=Microsoft_KB_Archive/101337" title="Microsoft KB Archive/101337">Microsoft KB Archive/101337</a> without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/"</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en-GB">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:13, 12 August 2020</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en-GB"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>X010https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/101337&diff=236849&oldid=prev3155ffGd: importing KB archive2020-07-18T17:49:42Z<p>importing KB archive</p>
<p><b>New page</b></p><div>INF: Changes to DLL Makefiles for Windows NT 3.1 Release<br />
<br />
PSS ID Number: Q101337 Article last modified on 04-20-1994<br />
<br />
3.10 WINDOWS NT<br />
<br />
{|<br />
|width="98%"| The information in this article applies to:<br />
|-<br />
| - Microsoft Win32 Software Development Kit (SDK) for Windows NT, version 3.1<br />
|}<br />
<br />
= SUMMARY =<br />
<br />
The documentation and sample makefiles for beta versions of the Win32 software development kit (SDK) use a different entry point for dynamic-link libraries (DLLs) than is recommended for the Windows NT 3.1 release. This difference is especially important to note if your DLLs are linked with the C Run-time. Previously, Microsoft recommended calling _crt_init() in your DLL entry point (or making it the DLL entry point), so that the C run time would be correctly initialized. Currently, Microsoft recommends that all DLLs provide a main function BOOL WINAPI DllMain( HANDLE hDLL, DWORD dwReason, LPVOID lpReserved ) and that the entry point be specified with the following linker option: -entry:_DllMainCRTStartup$(DLLENTRY)<br />
<br />
= MORE INFORMATION =<br />
<br />
The loader calls DllMainCRTStartup(), which is provided in the C Run-time library. This routine handles all C Run-time and C++ initialization, then determines whether DllMain() is exported from the DLL, and executes it if it exists.<br />
<br />
Additional reference words: 3.10 KBCategory: Prg KBSubcategory: BseDll ============================================================================= Copyright Microsoft Corporation 1994.</div>3155ffGd