Replies: 1 comment
-
It is difference between standard and strict mode for 16-bit Windows against WIN32 form. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good day, I was wondering where I could direct a documentation fix request to?
I found a minor error on page 223 / 318 of the pguide.PDF file. Section 29.1: The Sample GUI Application, has a function call to WinMain(), and the parameter types are incorrect, when I tried to compile for WinNT model.
The line has
int PASCAL WinMain( HANDLE hInstance, HANDLE hPrevInst,
LPSTR lpCmdLine, int nCmdShow )
but I believe the line should state
int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInst,
LPSTR lpCmdLine, int nCmdShow )
Tested correctly, but another set of eyes always welcomed.
Beta Was this translation helpful? Give feedback.
All reactions