Click here to Skip to main content
15,911,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: List of driver compilers Pin
Richard MacCutchan22-Jun-12 22:24
mveRichard MacCutchan22-Jun-12 22:24 
GeneralRe: List of driver compilers Pin
Brandon-X1200023-Jun-12 13:26
Brandon-X1200023-Jun-12 13:26 
GeneralRe: List of driver compilers Pin
Richard MacCutchan24-Jun-12 0:16
mveRichard MacCutchan24-Jun-12 0:16 
GeneralRe: List of driver compilers Pin
fat_boy22-Jun-12 23:31
fat_boy22-Jun-12 23:31 
GeneralRe: List of driver compilers Pin
Brandon-X1200023-Jun-12 14:10
Brandon-X1200023-Jun-12 14:10 
GeneralRe: List of driver compilers Pin
Brandon-X1200023-Jun-12 14:10
Brandon-X1200023-Jun-12 14:10 
GeneralRe: List of driver compilers Pin
Brandon-X1200023-Jun-12 14:10
Brandon-X1200023-Jun-12 14:10 
GeneralRe: List of driver compilers (Why I posted three times) Pin
Brandon-X1200023-Jun-12 15:53
Brandon-X1200023-Jun-12 15:53 
AnswerRe: List of driver compilers Pin
fat_boy22-Jun-12 23:35
fat_boy22-Jun-12 23:35 
QuestionSerial C++ Pin
Member 915532121-Jun-12 22:01
Member 915532121-Jun-12 22:01 
AnswerRe: Serial C++ Pin
Jochen Arndt21-Jun-12 22:32
professionalJochen Arndt21-Jun-12 22:32 
AnswerRe: Serial C++ Pin
Richard MacCutchan21-Jun-12 22:36
mveRichard MacCutchan21-Jun-12 22:36 
AnswerRe: Serial C++ Pin
David Crow22-Jun-12 2:20
David Crow22-Jun-12 2:20 
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 
jawadali477 wrote:
typedef void CvMouseCallback( int CV_EVENT_LBUTTONDBCLK, int x, int y, int flags, void* param )
 
{
//do some stuff here
}

When you are defining (writing the code of) your function to handle the callback, you don't want typedef, and you want to USE the typedef from the header file. So what you want is something like
C++
CvMouseCallback my_callback_function(int event, int x, int y, int flags, void *param) 
{
// do stuff
}

Also, you don't want the constant CV_EVENT_LBUTTONDBCLK in your function definition.

Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

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 
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 

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.