]> git.lyx.org Git - lyx.git/blobdiff - development/Win32/hidecmd.c
add 0.60 branch support because it is more stablewin32-aspell-HEAD.patch
[lyx.git] / development / Win32 / hidecmd.c
index 19fcbafbf19f85a072b8067c939f8a47cbe793f1..60500d1e60110202efe6c6d965ca988cbf6e4a48 100644 (file)
 #pragma comment(linker,"/NODEFAULTLIB")
 // unite code and data section (make the program smaller)
 #pragma comment(linker,"/MERGE:.rdata=.text")
-// resolve record in section of code
+// open code section for writing
 #pragma comment(linker,"/SECTION:.text,EWR")
-// the new entry point (the WinMain entry point is big)
+// redefine an entry point of the executable
+// Must be used, if entry point 'void NewWinMain(void)' is used,
+// instead of the standart 'int WINAPI WinMain(HINSTANCE hInst, ...)'
 #pragma comment(linker,"/ENTRY:NewWinMain")
 
 void NewWinMain(void)