AboutDlgProc is the dialog procedure (a function) that will handle displaying your About dialog box. The compiler has not seen the AboutDlgProc() function at the point where the error occurs.
Do you have that function in that .cpp file?
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395
undefined reference to `AboutDlgProc(HWND__*, unsigned int, unsigned int, long)@16'
ld returned 1 exit status
This is what i have at the "top" of the main.cpp
BOOL CALLBACK AboutDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam);
Now that you havedeclared the function, the next step is to implement it too, that is, you have to write the code for the AboutDlgProc() function (most likely in the main.cpp file).
I'm assuming that you are compiling some example project?
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395
BOOL CALLBACK AboutDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
I know what a bool type is, it means that in case the dialog box, dosn't work, it returns false, and displays the error message.
See DialogProc Function
Seems that you already figured the rest out by yourself - good.
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395