By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,853 Members | 2,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,853 IT Pros & Developers. It's quick & easy.

UINT problem...please help

P: 100
I am using MS visual studio c++ 6.I am writing MFC application which has

afx_msg void OnChar(UNIT ch,UINT count,UINT flags);

And when i compile its giving error "error C2061: syntax error : identifier 'UNIT'"
and "error C2511: 'OnChar' : overloaded member function 'void (unsigned int,unsigned int,unsigned int)' not found in 'CMainWin'"

What modification has to be done??..
Jun 18 '07 #1
Share this Question
Share on Google+
2 Replies

P: 55
Please check your parameter.
Jun 18 '07 #2

Expert Mod 5K+
P: 9,197
Yep. That's right. It's UINT and not UNIT.
Jun 18 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.