DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_ABOUT), hwnd, AboutDlgProc);
when i compile i only get this error:
87 ...\Main.cpp `AboutDlgProc' undeclared (first use this function)
Dev C++, only error
Hoe can I fix this? Thanks in advance.
This is a discussion on DialogBox(...) error within the Windows Programming forums, part of the Platform Specific Boards category; DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_ABOUT), hwnd, AboutDlgProc); when i compile i only get this error: 87 ...\Main.cpp `AboutDlgProc' undeclared (first use this function) ...
DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_ABOUT), hwnd, AboutDlgProc);
when i compile i only get this error:
87 ...\Main.cpp `AboutDlgProc' undeclared (first use this function)
Dev C++, only error
Hoe can I fix this? Thanks in advance.
This war, like the next war, is a war to end war.
Declare AboutDlgProc.
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.
Just for the record, what exactly is it supposed to be? (I might have forggoten to mention this, but I'm helping a friend out, and I know nothing about Win32 programming)
This war, like the next war, is a war to end war.