Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Amazing compilation error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Amazing compilation error

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Amazing compilation error
    Posted: 30 April 2009 at 9:02am
Decided to recompile ToolkitPro 12.0.1 and got this compilation error:
 
..\..\Source\Controls\XTPPropertySheet.cpp(844) : error C3861: 'AfxCallWndProc': identifier not found
 
Seriously, this error is not possible! :P
 
(The only difference since my last successful compilation is that I updated the SDK to v6.1.)
PokerMemento - http://www.pokermemento.com/
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2009 at 2:21am
Hi,
 
Strange indeed.
 
Lets replace this line to
 
return pPage->SendMessage(WM_COMMANDHELP, wParam, lParam);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2009 at 9:02am
I'm seeing this error in other projects too. Does SendMessage do the same as AfxCallWndProc? (Can't find sh*t about this on Google.)
PokerMemento - http://www.pokermemento.com/
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2009 at 9:09am
LOL!
 
Found this in afxwin.h:
friend LRESULT AFXAPI o(CWnd*, HWND, UINT, WPARAM, LPARAM);
 
Should be:
friend LRESULT AFXAPI AfxCallWndProc(CWnd*, HWND, UINT, WPARAM, LPARAM);
 
You can stick to your AfxCallWndProc call :P
PokerMemento - http://www.pokermemento.com/
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2009 at 5:19am
Hi,
 
Too late for this release :)
WM_COMMAND will do same work
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.187 seconds.