Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I dont know... Pin
jhwurmbach5-Sep-02 20:15
jhwurmbach5-Sep-02 20:15 
GeneralRe: I dont know... Pin
Coremn5-Sep-02 20:56
Coremn5-Sep-02 20:56 
QuestionHow to access C++ Lib by using Java? Pin
blongtq5-Sep-02 19:00
blongtq5-Sep-02 19:00 
AnswerRe: How to access C++ Lib by using Java? Pin
Stephane Rodriguez.5-Sep-02 21:17
Stephane Rodriguez.5-Sep-02 21:17 
GeneralI doubt in CRichEditCtrl Pin
sonshiro5-Sep-02 18:52
sonshiro5-Sep-02 18:52 
GeneralRe: I doubt in CRichEditCtrl Pin
.dan.g.5-Sep-02 19:45
professional.dan.g.5-Sep-02 19:45 
GeneralMultithreading Pin
pankajdaga5-Sep-02 17:11
pankajdaga5-Sep-02 17:11 
GeneralRe: Multithreading Pin
Chris Losinger5-Sep-02 18:12
professionalChris Losinger5-Sep-02 18:12 
when you pass an object by value, a copy of the object is created and passed to the function. this object will go out of scope and its destructor will be called, when the function exits.

when you pass by reference, the function uses the original object (via a pointer) and, so the object doesn't go out of scope when the function exits (and the destructor is not called).

a quick glance at your code...

the Mutex destructor deletes the critical section, possibly while some code is using it.

-c


Argue for your limitations, and sure enough, they're yours.

GeneralRe: Multithreading Pin
Todd Smith6-Sep-02 18:46
Todd Smith6-Sep-02 18:46 
Generalprocompile question Pin
Year5-Sep-02 17:09
Year5-Sep-02 17:09 
GeneralRe: procompile question Pin
Christian Graus5-Sep-02 17:21
protectorChristian Graus5-Sep-02 17:21 
GeneralAccessing the Internet Pin
Nay205-Sep-02 16:21
Nay205-Sep-02 16:21 
GeneralRe: Accessing the Internet Pin
Jason Henderson5-Sep-02 16:25
Jason Henderson5-Sep-02 16:25 
GeneralCTime and CString Pin
monrobot135-Sep-02 16:02
monrobot135-Sep-02 16:02 
GeneralRe: CTime and CString Pin
Jason Henderson5-Sep-02 16:28
Jason Henderson5-Sep-02 16:28 
GeneralRe: CTime and CString Pin
anju5-Sep-02 18:26
anju5-Sep-02 18:26 
GeneralImages in CListCtrl report columns Pin
IGx895-Sep-02 15:50
IGx895-Sep-02 15:50 
QuestionHow can I know which computer access the file of my computer? Pin
Member 18556085-Sep-02 13:49
Member 18556085-Sep-02 13:49 
GeneralSending mail ... Pin
Hadi Rezaee5-Sep-02 12:57
Hadi Rezaee5-Sep-02 12:57 
GeneralRe: Sending mail ... Pin
Chris Losinger5-Sep-02 13:14
professionalChris Losinger5-Sep-02 13:14 
GeneralRe: Sending mail ... Pin
Hadi Rezaee5-Sep-02 13:26
Hadi Rezaee5-Sep-02 13:26 
GeneralRe: Sending mail ... Pin
Hadi Rezaee6-Sep-02 8:33
Hadi Rezaee6-Sep-02 8:33 
GeneralRe: Sending mail ... Pin
Chris Losinger6-Sep-02 11:20
professionalChris Losinger6-Sep-02 11:20 
GeneralCSocket new-b question Pin
Anonymous5-Sep-02 12:36
Anonymous5-Sep-02 12:36 
GeneralRe: CSocket new-b question Pin
jparsons5-Sep-02 12:38
jparsons5-Sep-02 12:38 

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.