Win32 WndProc Name: why can't I change its name ?
Posted
by asksuperuser
on Stack Overflow
See other posts from Stack Overflow
or by asksuperuser
Published on 2010-04-11T18:42:25Z
Indexed on
2010/04/11
18:53 UTC
Read the original article
Hit count: 172
win32
I have compiled a simple win32 app successfully with bc++ (2 lines excerpt only):
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);
wincl.lpfnWndProc = WindowProcedure;
Why can't I rename WindowProcedure and compile this:
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);
wincl.lpfnWndProc = WndProc;
as error message gives:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external 'stdcall WndProc(HWND *, unsigned int, unsigned int, long)' referenced from C:\PROGRAMMING\SALLY\WIN32TUTORIAL\MAIN.OBJ
© Stack Overflow or respective owner