|
-
September 12th, 2003, 09:38 PM
#1
Accessing protected function
How can i access a protected member function in other class??
afx_msg void OnABC();
I need to access this function from other class. Any methods?
I tried to use a public function to access it.
But i got an error :
error C2352: 'CmdView::get_ABC' : illegal call of non-static member function
for using CmdView::get_ABC(); in the other class function.
Thanks a lot.
Last edited by ayumi; September 12th, 2003 at 09:46 PM.
0 error(s), 0 warning(s)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|