Skip to content

Commit 14a02f1

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#2612 from yury-fedorov/patch-1
Update run-time-library-behavior.md - inaccurate initialisation of AFX_EXTENSION_MODULE structure
2 parents b832d51 + f27eede commit 14a02f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/build/run-time-library-behavior.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The wizard provides the following code for MFC extension DLLs. In the code, `PRO
116116
#undef THIS_FILE
117117
static char THIS_FILE[] = __FILE__;
118118
#endif
119-
static AFX_EXTENSION_MODULE PROJNAMEDLL = { NULL, NULL };
119+
static AFX_EXTENSION_MODULE PROJNAMEDLL;
120120

121121
extern "C" int APIENTRY
122122
DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)

0 commit comments

Comments
 (0)