![]() |
Amazing compilation error |
Post Reply
|
| Author | |
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Topic: Amazing compilation errorPosted: 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/
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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/
|
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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/
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |