Print Page | Close Window

Amazing compilation error

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=14186
Printed Date: 22 June 2025 at 8:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Amazing compilation error
Posted By: znakeeye
Subject: Amazing compilation error
Date 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/



Replies:
Posted By: Oleg
Date 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


Posted By: znakeeye
Date 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/


Posted By: znakeeye
Date 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/


Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net