Click here to Skip to main content
15,915,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to use WIN32_FIND_DATA to find whole disk drive ? Pin
David Crow15-Dec-09 16:37
David Crow15-Dec-09 16:37 
AnswerRe: How to use WIN32_FIND_DATA to find whole disk drive ? Pin
wangningyu15-Dec-09 20:54
wangningyu15-Dec-09 20:54 
AnswerRe: How to use WIN32_FIND_DATA to find whole disk drive ? Pin
Michael Schubert15-Dec-09 21:03
Michael Schubert15-Dec-09 21:03 
GeneralRe: How to use WIN32_FIND_DATA to find whole disk drive ? Pin
wangningyu16-Dec-09 1:58
wangningyu16-Dec-09 1:58 
GeneralRe: How to use WIN32_FIND_DATA to find whole disk drive ? [modified] Pin
Michael Schubert16-Dec-09 4:03
Michael Schubert16-Dec-09 4:03 
GeneralRe: How to use WIN32_FIND_DATA to find whole disk drive ? Pin
David Crow16-Dec-09 4:57
David Crow16-Dec-09 4:57 
QuestionAsyncronus class and your method Pin
Ruscoff15-Dec-09 11:26
Ruscoff15-Dec-09 11:26 
AnswerRe: Asyncronus class and your method Pin
Moak15-Dec-09 12:59
Moak15-Dec-09 12:59 
Hi Marco, I try an answer.

Yes you can call a method from another thread, any object can be accessed from other threads. The real question is if the called functionality will be multithreading safe. Maybe this isn't even an issue in your case and you just wondered about ownership: Sleep() will only stop execution of one thread, but not prevent memory access from other threads. For example if class 2 creates an object of class1, which then is only used/called from another thread context, you don't even have to worry about multithreading (as long as lifetime of "class2 object thread" is longer than "class1 object thread").

Hope it helps
/M


GeneralRe: Asyncronus class and your method Pin
Ruscoff16-Dec-09 2:59
Ruscoff16-Dec-09 2:59 
QuestionMFC ListControl flicker in win7 Pin
yctsai15-Dec-09 8:08
yctsai15-Dec-09 8:08 
QuestionCIPAddressCtrl cannot create vc+= mfc Pin
saarfu15-Dec-09 5:08
saarfu15-Dec-09 5:08 
AnswerRe: CIPAddressCtrl cannot create vc+= mfc Pin
Abhi Lahare15-Dec-09 13:04
Abhi Lahare15-Dec-09 13:04 
QuestionVS2008 CMFCToolbar and inserting a combo box Pin
Jerry Evans15-Dec-09 4:29
Jerry Evans15-Dec-09 4:29 
QuestionUsing function from other class Pin
blackbolek15-Dec-09 2:41
blackbolek15-Dec-09 2:41 
QuestionRe: Using function from other class Pin
David Crow15-Dec-09 2:53
David Crow15-Dec-09 2:53 
AnswerRe: Using function from other class [modified] Pin
blackbolek15-Dec-09 4:16
blackbolek15-Dec-09 4:16 
GeneralRe: Using function from other class Pin
Cedric Moonen15-Dec-09 4:26
Cedric Moonen15-Dec-09 4:26 
GeneralRe: Using function from other class Pin
blackbolek15-Dec-09 4:50
blackbolek15-Dec-09 4:50 
AnswerRe: Using function from other class Pin
Cedric Moonen15-Dec-09 3:21
Cedric Moonen15-Dec-09 3:21 
QuestionSorting In A Virtual ListControl Pin
jannathali15-Dec-09 1:13
jannathali15-Dec-09 1:13 
AnswerRe: Sorting In A Virtual ListControl Pin
Code-o-mat15-Dec-09 2:21
Code-o-mat15-Dec-09 2:21 
QuestionAccelerators in VC++ Pin
VCsamir14-Dec-09 23:21
VCsamir14-Dec-09 23:21 
AnswerRe: Accelerators in VC++ Pin
Moak15-Dec-09 0:37
Moak15-Dec-09 0:37 
AnswerRe: Accelerators in VC++ Pin
KarstenK15-Dec-09 2:08
mveKarstenK15-Dec-09 2:08 
AnswerRe: Accelerators in VC++ Pin
Code-o-mat15-Dec-09 2:08
Code-o-mat15-Dec-09 2: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.