Click here to Skip to main content
15,926,507 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating Add-in for Visual Basic Editor Pin
BlackDice28-Sep-04 10:49
BlackDice28-Sep-04 10:49 
GeneralRe: Creating Add-in for Visual Basic Editor Pin
agentnem28-Sep-04 13:12
agentnem28-Sep-04 13:12 
GeneralWindows Themed Shapes and Structure RGNDATA Pin
Tristan Rhodes28-Sep-04 7:23
Tristan Rhodes28-Sep-04 7:23 
GeneralTerminating a thread from a different thread Pin
BlackDice28-Sep-04 6:15
BlackDice28-Sep-04 6:15 
GeneralRe: Terminating a thread from a different thread Pin
Blake Miller28-Sep-04 6:36
Blake Miller28-Sep-04 6:36 
GeneralHow about this? Pin
BlackDice28-Sep-04 6:57
BlackDice28-Sep-04 6:57 
GeneralRe: How about this? Pin
Blake Miller28-Sep-04 7:09
Blake Miller28-Sep-04 7:09 
GeneralRe: How about this? Pin
BlackDice28-Sep-04 7:42
BlackDice28-Sep-04 7:42 
I tried what you said, using my 'Start' and 'Stop'(cancel) buttons. Watching Task Manager, the number of handles is steadily increasing, as well as the number of threads. I don't think this will be a very big deal for my app because I have an option that will allow the app to start the thread automatically in OnInitDialog(). The app will only ever be watching one folder and we will probably put it in the StartUp folder so that everytime the server restarts, the app will start up also.

However, I would still like to do it a better way. I kinda looked at your first response, and I'm sorta clueless as to what you're talking about (I still consider myself a C++ beginner). But I DO know that putting a band-aid on a gunshot wound will lead to bigger problems. So if you have the time to elaborate further on your earlier comment, I'd appreciate it. The first way I had it was that the user had to actually close the app for it to stop watching the folder...I'm wondering if I should've just left it like that? Poke tongue | ;-P

Thanks for your help!!

[insert witty comment here]

bdiamond Sleepy | :zzz:
GeneralRe: How about this? Pin
Blake Miller28-Sep-04 7:52
Blake Miller28-Sep-04 7:52 
GeneralRe: How about this? Pin
BlackDice28-Sep-04 11:02
BlackDice28-Sep-04 11:02 
GeneralRe: Terminating a thread from a different thread Pin
Neville Franks28-Sep-04 10:35
Neville Franks28-Sep-04 10:35 
GeneralMessage lost when sending to split windows Pin
mike-o28-Sep-04 6:03
mike-o28-Sep-04 6:03 
GeneralRe: Message lost when sending to split windows Pin
Sujan Christo28-Sep-04 19:40
Sujan Christo28-Sep-04 19:40 
GeneralCustom Shell handler Pin
Jim Crafton28-Sep-04 6:00
Jim Crafton28-Sep-04 6:00 
GeneralRe: Custom Shell handler Pin
David Crow28-Sep-04 9:54
David Crow28-Sep-04 9:54 
QuestionHow to change menu item propeties ? Pin
zakarias28-Sep-04 5:22
zakarias28-Sep-04 5:22 
AnswerRe: How to change menu item propeties ? Pin
Antony M Kancidrowski28-Sep-04 6:10
Antony M Kancidrowski28-Sep-04 6:10 
GeneralTerminating a Thread Pin
sweep12328-Sep-04 4:34
sweep12328-Sep-04 4:34 
GeneralRe: Terminating a Thread Pin
Blake Miller28-Sep-04 4:49
Blake Miller28-Sep-04 4:49 
GeneralRe: Terminating a Thread Pin
sweep12328-Sep-04 6:11
sweep12328-Sep-04 6:11 
GeneralRe: Terminating a Thread Pin
Blake Miller28-Sep-04 6:28
Blake Miller28-Sep-04 6:28 
Questiondoc/view ??? Pin
Plons28-Sep-04 4:08
Plons28-Sep-04 4:08 
AnswerRe: doc/view ??? Pin
HENDRIK R28-Sep-04 4:55
HENDRIK R28-Sep-04 4:55 
AnswerRe: doc/view ??? Pin
David Crow28-Sep-04 5:43
David Crow28-Sep-04 5:43 
GeneralHandle of the View Pin
Neelesh K J Jain28-Sep-04 4:06
Neelesh K J Jain28-Sep-04 4:06 

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.