Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: creating setup for application Pin
ThatsAlok21-Jul-06 4:02
ThatsAlok21-Jul-06 4:02 
GeneralRe: creating setup for application Pin
Tara1422-Jul-06 1:04
Tara1422-Jul-06 1:04 
QuestionVSS automation problem Pin
stanlymt19-Jul-06 19:59
stanlymt19-Jul-06 19:59 
AnswerRe: VSS automation problem Pin
Steve S19-Jul-06 21:42
Steve S19-Jul-06 21:42 
GeneralRe: VSS automation problem Pin
stanlymt19-Jul-06 21:52
stanlymt19-Jul-06 21:52 
GeneralRe: VSS automation problem Pin
Steve S19-Jul-06 22:34
Steve S19-Jul-06 22:34 
GeneralRe: VSS automation problem Pin
stanlymt19-Jul-06 22:50
stanlymt19-Jul-06 22:50 
GeneralRe: VSS automation problem Pin
Steve S20-Jul-06 0:00
Steve S20-Jul-06 0:00 
stanlymt wrote:
One thread is to monitor the content of one folder. The control is never reaching this thread, once the 'get' function is called. I tried using timers also, timer event is also not happening.


How do you know that the thread is not running? Does it have it's own windows and message loop, or are you outputting to a debug window (TRACE/ATLTRACE/OutputDebugWindow)?

The single get will be faster, but then you have to do your own monitoring of progress, which means looking for file change notifications etc. I suggested the recursive version because you said you wanted to have progress notifications, and this would be one way. I'm guessing that the SS UI does it this way, since there aren't events that get fired (at least, not that we get told about!).

It might be the STA that's contributing to the lockups. You could try using CoInitializeEx to get an MTA instead (in both the main thread and the get thread), and see if that helps at all.

When you say timers, do you mean SetTimer(), which will only cause WM_TIMER to be pulled out of the queue, which, as you're not pumping msgs, won't be happening....

Steve S
Developer for hire
GeneralRe: VSS automation problem Pin
stanlymt20-Jul-06 0:14
stanlymt20-Jul-06 0:14 
Questioni am unable to understand tis function,plz help Pin
jitenderbansal19-Jul-06 19:51
jitenderbansal19-Jul-06 19:51 
AnswerRe: i am unable to understand tis function,plz help Pin
Sarath C19-Jul-06 20:08
Sarath C19-Jul-06 20:08 
AnswerRe: i am unable to understand tis function,plz help Pin
Hamid_RT19-Jul-06 20:42
Hamid_RT19-Jul-06 20:42 
QuestionSecurity Descriptor from SID Pin
ragavan19-Jul-06 19:39
ragavan19-Jul-06 19:39 
AnswerRe: Security Descriptor from SID Pin
Hamid_RT19-Jul-06 20:43
Hamid_RT19-Jul-06 20:43 
QuestionWin32 and console app. [modified] Pin
Anu_Bala19-Jul-06 18:53
Anu_Bala19-Jul-06 18:53 
AnswerRe: Win32 and console app. Pin
Michael Dunn19-Jul-06 19:04
sitebuilderMichael Dunn19-Jul-06 19:04 
AnswerRe: Win32 and console app. Pin
_AnsHUMAN_ 19-Jul-06 19:05
_AnsHUMAN_ 19-Jul-06 19:05 
GeneralRe: Win32 and console app. Pin
Rilhas21-Jul-06 12:36
Rilhas21-Jul-06 12:36 
QuestionHow to change property page caption in Wizard mode Pin
jadhav12319-Jul-06 18:05
jadhav12319-Jul-06 18:05 
AnswerRe: How to change property page caption in Wizard mode Pin
ThatsAlok19-Jul-06 18:42
ThatsAlok19-Jul-06 18:42 
Questionwhy doesn't the cursor piont to the excuted line in single step debug? Pin
liuyue19-Jul-06 16:47
liuyue19-Jul-06 16:47 
Questionhow to login????? Pin
With_problem19-Jul-06 15:46
With_problem19-Jul-06 15:46 
AnswerRe: how to login????? Pin
ThatsAlok19-Jul-06 18:40
ThatsAlok19-Jul-06 18:40 
AnswerRe: how to login????? Pin
Hamid_RT19-Jul-06 19:33
Hamid_RT19-Jul-06 19:33 
GeneralRe: how to login????? Pin
With_problem19-Jul-06 19:48
With_problem19-Jul-06 19:48 

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.