Error about Walkthrough: Creating a Rich Client Application with MFC
-
Thursday, May 10, 2012 7:51 AM
Hi,
I follow the Walkthrough: Creating a Rich Client Application with MFC in
MSDN, meet some problems in section of Creating and Hosting a Windowless
ActiveX Control.
After I done all thing descripted in the Walkthrouh, I build the project
CustomCtl, I got error: error C3861: 'Click': identifier not found.
Thanks.
All Replies
-
Thursday, May 10, 2012 2:22 PM
I have solve the problem. The Walkthrough document in MSDN document does not 'Add connection point' to CMyCtl class.- Marked As Answer by sincos2007 Thursday, May 10, 2012 2:22 PM
-
Friday, May 11, 2012 3:27 AM
from the documentation at this link: http://msdn.microsoft.com/en-us/library/6asz720a(v=VS.80).aspx.
I found there are lines as belows:
In the ATL Control Wizard, enter MyCtl in the Short name box.
On the Options page, choose Connection points.
Click Finish to create the custom control object.
what do you refer to when stating "add connection point"?
Please mark this reply as answer if it helps you! Thanks for your cooperation! Good Luck to you.

