Click here to Skip to main content
15,888,286 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Serial C++ Pin
SoMad23-Jun-12 17:21
professionalSoMad23-Jun-12 17:21 
QuestionHow to get list of C++ class names from source code Pin
pandit8421-Jun-12 21:33
pandit8421-Jun-12 21:33 
SuggestionRe: How to get list of C++ class names from source code Pin
David Crow22-Jun-12 2:29
David Crow22-Jun-12 2:29 
GeneralRe: How to get list of C++ class names from source code Pin
Sivaraman Dhamodharan22-Jun-12 4:22
Sivaraman Dhamodharan22-Jun-12 4:22 
Questionerror c2071: illegal storage class Pin
jawadali47721-Jun-12 18:36
jawadali47721-Jun-12 18:36 
AnswerRe: error c2071: illegal storage class Pin
Peter_in_278021-Jun-12 18:55
professionalPeter_in_278021-Jun-12 18:55 
GeneralRe: error c2071: illegal storage class Pin
jawadali47721-Jun-12 19:42
jawadali47721-Jun-12 19:42 
AnswerRe: error c2071: illegal storage class Pin
Parthi_Appu21-Jun-12 21:40
Parthi_Appu21-Jun-12 21:40 
First regarding error C2660, who have used the MFC version of SetDlgItemText, which is a wrapper for Win32 API. If your function is a member of dialog class then the handle to the dialog is passes as a first param. So to get rid of C2660 pass the handle of the dialog as first param and then pass the next two params.

And regarding C2664 the declaration is incorrect. Your callback function should return void with calling convention as CV_CDECL (or equivalent basic calling conevention, check this in your code)



Do your Duty and Don't Worry about the Result

QuestionDisable text zooming in Rich Edit control. Pin
Member 225379321-Jun-12 14:12
Member 225379321-Jun-12 14:12 
AnswerRe: Disable text zooming in Rich Edit control. Pin
Brandon-X1200021-Jun-12 21:30
Brandon-X1200021-Jun-12 21:30 
Questionopencv with MFC Pin
jawadali47720-Jun-12 18:39
jawadali47720-Jun-12 18:39 
AnswerRe: opencv with MFC Pin
Richard MacCutchan20-Jun-12 23:55
mveRichard MacCutchan20-Jun-12 23:55 
AnswerRe: opencv with MFC Pin
Sivaraman Dhamodharan21-Jun-12 1:48
Sivaraman Dhamodharan21-Jun-12 1:48 
GeneralRe: opencv with MFC Pin
jawadali47721-Jun-12 18:16
jawadali47721-Jun-12 18:16 
GeneralRe: opencv with MFC Pin
Sivaraman Dhamodharan22-Jun-12 4:16
Sivaraman Dhamodharan22-Jun-12 4:16 
Questionshow powerpoint slides in visual C++ 2010 form Pin
amir70020-Jun-12 18:32
amir70020-Jun-12 18:32 
AnswerRe: show powerpoint slides in visual C++ 2010 form Pin
_Flaviu20-Jun-12 23:00
_Flaviu20-Jun-12 23:00 
GeneralRe: show powerpoint slides in visual C++ 2010 form Pin
amir70021-Jun-12 22:35
amir70021-Jun-12 22:35 
AnswerRe: show powerpoint slides in visual C++ 2010 form Pin
Maximilien21-Jun-12 8:40
Maximilien21-Jun-12 8:40 
AnswerRe: show powerpoint slides in visual C++ 2010 form Pin
Brandon-X1200021-Jun-12 21:33
Brandon-X1200021-Jun-12 21:33 
GeneralRe: show powerpoint slides in visual C++ 2010 form Pin
amir70021-Jun-12 22:38
amir70021-Jun-12 22:38 
GeneralRe: show powerpoint slides in visual C++ 2010 form Pin
_Flaviu22-Jun-12 6:30
_Flaviu22-Jun-12 6:30 
QuestionCan I create a dialog template for other dialog boxes? Pin
DeepT20-Jun-12 5:47
DeepT20-Jun-12 5:47 
AnswerRe: Can I create a dialog template for other dialog boxes? Pin
fat_boy20-Jun-12 6:31
fat_boy20-Jun-12 6:31 
AnswerRe: Can I create a dialog template for other dialog boxes? Pin
Albert Holguin20-Jun-12 7:04
professionalAlbert Holguin20-Jun-12 7:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.