Click here to Skip to main content
14,357,666 members

C / C++ / MFC

 
AnswerRe: Using assignment operator = for a class with const memeber variables? Pin
CPallini7-Oct-18 21:36
mveCPallini7-Oct-18 21:36 
AnswerRe: Using assignment operator = for a class with const memeber variables? Pin
Richard MacCutchan7-Oct-18 22:47
protectorRichard MacCutchan7-Oct-18 22:47 
AnswerRe: Using assignment operator = for a class with const memeber variables? Pin
«_Superman_»9-Oct-18 2:51
professional«_Superman_»9-Oct-18 2:51 
QuestionAccess a pointer value changed in another class Pin
meerokh5-Oct-18 7:30
membermeerokh5-Oct-18 7:30 
AnswerRe: Access a pointer value changed in another class Pin
Victor Nijegorodov5-Oct-18 8:51
memberVictor Nijegorodov5-Oct-18 8:51 
GeneralRe: Access a pointer value changed in another class Pin
meerokh5-Oct-18 9:10
membermeerokh5-Oct-18 9:10 
GeneralRe: Access a pointer value changed in another class Pin
Victor Nijegorodov5-Oct-18 9:37
memberVictor Nijegorodov5-Oct-18 9:37 
AnswerRe: Access a pointer value changed in another class Pin
CPallini5-Oct-18 12:28
mveCPallini5-Oct-18 12:28 
In the user application you should declare the finished variable volatile.
In the package.cpp you should capture the pointer (or a reference) to the variable. E.g.

package::package(){
//other memeber variables inside ctor
m_pfinished = finished; // capture the pointer not the value

void package::setHandle(){
lock
 *m_pfinished = true; // change the original 'finished' content
unlock
}

QuestionRe: Access a pointer value changed in another class Pin
CPallini10-Oct-18 0:58
mveCPallini10-Oct-18 0:58 
QuestionConversion from C to C#, Need C# Method Signature Pin
akvbsoft4-Oct-18 9:50
memberakvbsoft4-Oct-18 9:50 
AnswerRe: Conversion from C to C#, Need C# Method Signature Pin
vcbeaut4-Oct-18 17:48
membervcbeaut4-Oct-18 17:48 
AnswerRe: Conversion from C to C#, Need C# Method Signature Pin
Victor Nijegorodov4-Oct-18 22:43
memberVictor Nijegorodov4-Oct-18 22:43 
QuestionMake screen bigger Pin
Member 139824711-Oct-18 9:37
memberMember 139824711-Oct-18 9:37 
AnswerRe: Make screen bigger Pin
Member 139824711-Oct-18 9:55
memberMember 139824711-Oct-18 9:55 
GeneralRe: Make screen bigger Pin
Maximilien3-Oct-18 5:28
memberMaximilien3-Oct-18 5:28 
GeneralRe: Make screen bigger Pin
enhzflep3-Oct-18 8:38
memberenhzflep3-Oct-18 8:38 
JokeRe: Make screen bigger Pin
Richard Deeming3-Oct-18 11:10
mveRichard Deeming3-Oct-18 11:10 
GeneralRe: Make screen bigger Pin
David Crow1-Oct-18 10:12
memberDavid Crow1-Oct-18 10:12 
AnswerRe: Make screen bigger Pin
Victor Nijegorodov1-Oct-18 10:20
memberVictor Nijegorodov1-Oct-18 10:20 
GeneralRe: Make screen bigger Pin
Member 139824711-Oct-18 10:28
memberMember 139824711-Oct-18 10:28 
GeneralRe: Make screen bigger Pin
Victor Nijegorodov1-Oct-18 10:47
memberVictor Nijegorodov1-Oct-18 10:47 
GeneralRe: Make screen bigger Pin
Member 139824711-Oct-18 11:19
memberMember 139824711-Oct-18 11:19 
GeneralRe: Make screen bigger Pin
Victor Nijegorodov1-Oct-18 11:58
memberVictor Nijegorodov1-Oct-18 11:58 
GeneralRe: Make screen bigger Pin
Member 139824711-Oct-18 14:29
memberMember 139824711-Oct-18 14:29 
GeneralRe: Make screen bigger Pin
Richard MacCutchan1-Oct-18 23:50
protectorRichard MacCutchan1-Oct-18 23:50 

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.