Click here to Skip to main content
15,921,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPlease Help Pin
ThatsAlok13-Sep-04 22:01
ThatsAlok13-Sep-04 22:01 
GeneralRe: Please Help Pin
Bob Stanneveld13-Sep-04 22:59
Bob Stanneveld13-Sep-04 22:59 
GeneralRe: Please Help Pin
ThatsAlok13-Sep-04 23:11
ThatsAlok13-Sep-04 23:11 
GeneralRe: Please Help Pin
Bob Stanneveld14-Sep-04 7:55
Bob Stanneveld14-Sep-04 7:55 
GeneralRe: Please Help Pin
David Crow14-Sep-04 3:02
David Crow14-Sep-04 3:02 
QuestionWhat is GNU C++? Pin
sacoskun13-Sep-04 21:44
sacoskun13-Sep-04 21:44 
AnswerRe: What is GNU C++? Pin
Arsalan Malik13-Sep-04 21:50
Arsalan Malik13-Sep-04 21:50 
GeneralCSockets Error Pin
shiraztk13-Sep-04 21:22
shiraztk13-Sep-04 21:22 
GeneralRe: CSockets Error Pin
Arsalan Malik13-Sep-04 21:31
Arsalan Malik13-Sep-04 21:31 
GeneralRe: CSockets Error Pin
shiraztk13-Sep-04 22:17
shiraztk13-Sep-04 22:17 
QuestionHow to send user defined structure via PostMessage Pin
ledallam13-Sep-04 21:04
ledallam13-Sep-04 21:04 
AnswerRe: How to send user defined structure via PostMessage Pin
Arsalan Malik13-Sep-04 21:20
Arsalan Malik13-Sep-04 21:20 
GeneralRe: How to send user defined structure via PostMessage Pin
ledallam13-Sep-04 21:37
ledallam13-Sep-04 21:37 
GeneralRe: How to send user defined structure via PostMessage Pin
Arsalan Malik13-Sep-04 21:45
Arsalan Malik13-Sep-04 21:45 
GeneralRe: How to send user defined structure via PostMessage Pin
Mad__13-Sep-04 23:22
Mad__13-Sep-04 23:22 
GeneralRe: How to send user defined structure via PostMessage Pin
Roger Allen14-Sep-04 12:24
Roger Allen14-Sep-04 12:24 
GeneralAccessing data between threads Pin
ledallam13-Sep-04 19:30
ledallam13-Sep-04 19:30 
GeneralRe: Accessing data between threads Pin
Arsalan Malik13-Sep-04 19:38
Arsalan Malik13-Sep-04 19:38 
Your problem is that, you are using a shared resource (list) between two threads. You need synchronization between threads, so that only one thread at at time can access shared list. To achieve this, you can use CEvent, CMutex, or CSemaphore, depending on your needs and choice. See any good reference on these classes.Cool | :cool:


ARSALAN MALIK

GeneralRe: Accessing data between threads Pin
Hardy_Smith13-Sep-04 21:40
Hardy_Smith13-Sep-04 21:40 
GeneralHandling multiple instances of an application in VC++ 6.0 Pin
Neeranjan13-Sep-04 19:07
Neeranjan13-Sep-04 19:07 
GeneralRe: Handling multiple instances of an application in VC++ 6.0 Pin
Arsalan Malik13-Sep-04 19:24
Arsalan Malik13-Sep-04 19:24 
GeneralRe: Handling multiple instances of an application in VC++ 6.0 Pin
Neeranjan13-Sep-04 19:40
Neeranjan13-Sep-04 19:40 
GeneralRe: Handling multiple instances of an application in VC++ 6.0 Pin
Anonymous14-Sep-04 0:47
Anonymous14-Sep-04 0:47 
GeneralRe: Handling multiple instances of an application in VC++ 6.0 Pin
lookforme_prash14-Sep-04 0:52
lookforme_prash14-Sep-04 0:52 
GeneralRe: Handling multiple instances of an application in VC++ 6.0 Pin
Neeranjan14-Sep-04 18:46
Neeranjan14-Sep-04 18:46 

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.