Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problems when configuring Visual Studio ... Pin
Cedric Moonen13-Aug-08 3:25
Cedric Moonen13-Aug-08 3:25 
AnswerRe: Problems when configuring Visual Studio ... Pin
David Crow13-Aug-08 3:27
David Crow13-Aug-08 3:27 
GeneralRe: Problems when configuring Visual Studio ... Pin
SNArruda13-Aug-08 3:34
SNArruda13-Aug-08 3:34 
QuestionI am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
ptr_Electron13-Aug-08 3:11
ptr_Electron13-Aug-08 3:11 
AnswerRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Cedric Moonen13-Aug-08 3:15
Cedric Moonen13-Aug-08 3:15 
AnswerRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Jijo.Raj13-Aug-08 3:17
Jijo.Raj13-Aug-08 3:17 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
ptr_Electron13-Aug-08 3:20
ptr_Electron13-Aug-08 3:20 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Cedric Moonen13-Aug-08 3:42
Cedric Moonen13-Aug-08 3:42 
There's a solution but it is really ugly: you can remove the constness of the this pointer by using a const_cast. But it doesn't make any sense because you declared your function as const. Why would you do that if you remove the constness inside it ?

Another point: why are you putting the this pointer inside a structure if you only pass that pointer ? Why don't you pass it directly to your thread function ?

Cédric Moonen
Software developer

Charting control [v1.4]
OpenGL game tutorial in C++

GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
ptr_Electron13-Aug-08 3:59
ptr_Electron13-Aug-08 3:59 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Jijo.Raj13-Aug-08 3:46
Jijo.Raj13-Aug-08 3:46 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
ptr_Electron13-Aug-08 4:12
ptr_Electron13-Aug-08 4:12 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Jijo.Raj13-Aug-08 5:42
Jijo.Raj13-Aug-08 5:42 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
ptr_Electron13-Aug-08 6:00
ptr_Electron13-Aug-08 6:00 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Jijo.Raj13-Aug-08 6:39
Jijo.Raj13-Aug-08 6:39 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
ptr_Electron13-Aug-08 18:32
ptr_Electron13-Aug-08 18:32 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Jijo.Raj13-Aug-08 18:57
Jijo.Raj13-Aug-08 18:57 
Questiondisplay a bmp image dynamically using win32 sdk c++ Pin
raesa13-Aug-08 2:41
raesa13-Aug-08 2:41 
AnswerRe: display a bmp image dynamically using win32 sdk c++ Pin
KarstenK13-Aug-08 3:58
mveKarstenK13-Aug-08 3:58 
GeneralRe: display a bmp image dynamically using win32 sdk c++ Pin
raesa13-Aug-08 17:45
raesa13-Aug-08 17:45 
AnswerRe: display a bmp image dynamically using win32 sdk c++ Pin
oobimoo13-Aug-08 5:56
oobimoo13-Aug-08 5:56 
GeneralRe: display a bmp image dynamically using win32 sdk c++ Pin
raesa13-Aug-08 17:47
raesa13-Aug-08 17:47 
QuestionC++ program that reads N numbers from the keyboard Pin
rameshkalavala13-Aug-08 2:38
rameshkalavala13-Aug-08 2:38 
AnswerRe: C++ program that reads N numbers from the keyboard Pin
_AnsHUMAN_ 13-Aug-08 2:40
_AnsHUMAN_ 13-Aug-08 2:40 
AnswerRe: C++ program that reads N numbers from the keyboard Pin
toxcct13-Aug-08 2:51
toxcct13-Aug-08 2:51 
AnswerRe: C++ program that reads N numbers from the keyboard Pin
Cedric Moonen13-Aug-08 2:54
Cedric Moonen13-Aug-08 2:54 

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.