afx_message
-
I'm trying to use messages to communicate within a program (I'm following the article "Interprocess communication tutorial By Alex Farber") but am running into a problem. I've followed the first few steps of his little tutorial, and run into the following error when i try to build the application: error C2065: 'OnMessageTextChanged' : undeclared identifier with regards to this line in programDlg.cpp : ON_REGISTERED_MESSAGE(wm_Message, OnMessageTextChanged) I thought that: afx_msg LRESULT OnMessageTextChanged(WPARAM wParam, LPARAM lParam); in programDlg.h was the proper way to declare this. Any ideas on what I may be doing wrong? Thanks greg
-
I'm trying to use messages to communicate within a program (I'm following the article "Interprocess communication tutorial By Alex Farber") but am running into a problem. I've followed the first few steps of his little tutorial, and run into the following error when i try to build the application: error C2065: 'OnMessageTextChanged' : undeclared identifier with regards to this line in programDlg.cpp : ON_REGISTERED_MESSAGE(wm_Message, OnMessageTextChanged) I thought that: afx_msg LRESULT OnMessageTextChanged(WPARAM wParam, LPARAM lParam); in programDlg.h was the proper way to declare this. Any ideas on what I may be doing wrong? Thanks greg
briefcase wrote: Any ideas on what I may be doing wrong? Have you
#include
d your header file in your cpp file? Have you double checked the spelling and letter case?
[
](http://www.canucks.com)Sonork 100.11743 Chicken Little "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 Within you lies the power for good - Use it!