From 34ba946e70558ffcf83ac864e5d222041515f3d0 Mon Sep 17 00:00:00 2001 From: "H. S. Teoh" Date: Tue, 6 Apr 2021 11:26:43 -0700 Subject: [PATCH] Fix typo: `wmainCRTStartup` (capital S) not `wmainCRTstartup`. --- simpledisplay.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpledisplay.d b/simpledisplay.d index a6eca4c..1d84adf 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -137,7 +137,7 @@ interface->SetProgressValue(hwnd, 40, 100); `-Lgdi32.lib -Luser32.lib` on the build command. If you want the Windows subsystem too, use `-L/subsystem:windows -L/entry:mainCRTStartup`. - If using ldc instead of dmd, use `-L/entry:wmainCRTstartup` instead of `mainCRTStartup`; + If using ldc instead of dmd, use `-L/entry:wmainCRTStartup` instead of `mainCRTStartup`; note the "w". On Win32, you can pass `-L/subsystem:windows` if you don't want a