Click here to Skip to main content
15,916,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Serial Port Interfacing Pin
LittleYellowBird29-Jan-03 2:21
LittleYellowBird29-Jan-03 2:21 
GeneralDisplaying text from a text file in a dialogue box Pin
Kayembi23-Jan-03 14:29
Kayembi23-Jan-03 14:29 
GeneralRe: Displaying text from a text file in a dialogue box Pin
Mike Nordell23-Jan-03 17:03
Mike Nordell23-Jan-03 17:03 
QuestionA multimedia queation: How to convert YUV to RGB in video stream? Pin
Danaus23-Jan-03 14:28
Danaus23-Jan-03 14:28 
GeneralDeveloping Windows Service in XP with graphics Pin
richard9723-Jan-03 13:34
richard9723-Jan-03 13:34 
GeneralRe: Developing Windows Service in XP with graphics Pin
Mike Nordell23-Jan-03 17:13
Mike Nordell23-Jan-03 17:13 
GeneralCString and threads Pin
(Steven Hicks)n+123-Jan-03 12:59
(Steven Hicks)n+123-Jan-03 12:59 
GeneralRe: CString and threads Pin
Peter Molnar23-Jan-03 14:10
Peter Molnar23-Jan-03 14:10 
CString and CStringArray objects are different when they can be accessed by several threads simoultanously. (the former are thread safe the later not).
In MT apps you have to access CStringArray's by using syncronization objects e.g. CriticalSection's.

Example:
CCriticalSection m_Sync; //declaration in your header file


In your your cpp:
m_Sync.Lock();
//StringArray manipulation
m_Sync.Unlock();




Bunburry
GeneralStatic Text Background Pin
mattmattbobatt23-Jan-03 12:39
mattmattbobatt23-Jan-03 12:39 
GeneralRe: Static Text Background Pin
jimNLX24-Jan-03 10:35
jimNLX24-Jan-03 10:35 
GeneralRe: Static Text Background Pin
georgiek5024-Jan-03 17:10
georgiek5024-Jan-03 17:10 
Generaltimeout recv on udp socket Pin
orcun colak23-Jan-03 12:34
orcun colak23-Jan-03 12:34 
Generalrecvfrom, not recv Pin
Anonymous23-Jan-03 14:57
Anonymous23-Jan-03 14:57 
GeneralCOleSafeArray Pin
Peter Molnar23-Jan-03 11:24
Peter Molnar23-Jan-03 11:24 
GeneralText on a Tool Bar Pin
Eldon Zacek23-Jan-03 11:18
Eldon Zacek23-Jan-03 11:18 
GeneralRe: Text on a Tool Bar Pin
PJ Arends23-Jan-03 12:52
professionalPJ Arends23-Jan-03 12:52 
GeneralHelp!! Pin
MemLeak23-Jan-03 10:39
MemLeak23-Jan-03 10:39 
GeneralRe: Help!! Pin
Jörgen Sigvardsson23-Jan-03 10:45
Jörgen Sigvardsson23-Jan-03 10:45 
GeneralRe: Help!! Pin
Christian Graus23-Jan-03 10:48
protectorChristian Graus23-Jan-03 10:48 
QuestionWhere did the ClassWizard go? Pin
davedoc23-Jan-03 10:21
davedoc23-Jan-03 10:21 
AnswerRe: Where did the ClassWizard go? Pin
Gary R. Wheeler23-Jan-03 10:25
Gary R. Wheeler23-Jan-03 10:25 
GeneralCProperty Sheet Pin
nlecren23-Jan-03 10:16
nlecren23-Jan-03 10:16 
GeneralRe: CProperty Sheet Pin
Roger Allen24-Jan-03 1:46
Roger Allen24-Jan-03 1:46 
GeneralRe: CProperty Sheet Pin
nlecren24-Jan-03 2:55
nlecren24-Jan-03 2:55 
General"new" array question (This might be really stupid of me...) Pin
ns23-Jan-03 10:08
ns23-Jan-03 10:08 

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.