Click here to Skip to main content
16,017,100 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWho knows such a control can meet my requirement? Pin
e7055c24-Mar-07 20:42
e7055c24-Mar-07 20:42 
QuestionWatching the file system...... Pin
Peter Weyzen24-Mar-07 17:01
Peter Weyzen24-Mar-07 17:01 
QuestionAssertion Failed Pin
crieagu24-Mar-07 16:42
crieagu24-Mar-07 16:42 
AnswerRe: Assertion Failed Pin
Christian Graus24-Mar-07 16:53
protectorChristian Graus24-Mar-07 16:53 
GeneralRe: Assertion Failed Pin
crieagu24-Mar-07 17:38
crieagu24-Mar-07 17:38 
GeneralRe: Assertion Failed Pin
Mark Salsbery25-Mar-07 8:37
Mark Salsbery25-Mar-07 8:37 
GeneralRe: Assertion Failed Pin
crieagu26-Mar-07 2:32
crieagu26-Mar-07 2:32 
GeneralRe: Assertion Failed Pin
Mark Salsbery26-Mar-07 8:26
Mark Salsbery26-Mar-07 8:26 
I don't think you need separate threads for this. Unless it's a lengthy operation that can run
in the background AND that requires so much time that the UI suffers then there's no need for it.
Even if you did need the extra thread, there's certainly no need to spawn a new thread every time
in OnAnyMove! Plus you haven't provided any synchronization method to prevent threads from
accessing objects simultaneously. That's why a firm understanding of what's going on is vital.

You should be able to do what you're doing by just calling the method(s) without separate threads.

Mark


"If you can dodge a wrench, you can dodge a ball."

GeneralRe: Assertion Failed Pin
Stephen Hewitt25-Mar-07 14:18
Stephen Hewitt25-Mar-07 14:18 
QuestionRe: Assertion Failed Pin
David Crow26-Mar-07 2:36
David Crow26-Mar-07 2:36 
AnswerRe: Assertion Failed Pin
crieagu26-Mar-07 3:09
crieagu26-Mar-07 3:09 
GeneralRe: Assertion Failed Pin
David Crow26-Mar-07 3:20
David Crow26-Mar-07 3:20 
GeneralRe: Assertion Failed Pin
crieagu26-Mar-07 3:37
crieagu26-Mar-07 3:37 
GeneralRe: Assertion Failed Pin
David Crow26-Mar-07 3:39
David Crow26-Mar-07 3:39 
QuestionReading csv file -> Lil modification needed..... Pin
Software_Specialist24-Mar-07 15:13
Software_Specialist24-Mar-07 15:13 
AnswerRe: Reading csv file -> Lil modification needed..... Pin
Software_Specialist25-Mar-07 3:30
Software_Specialist25-Mar-07 3:30 
GeneralRe: Reading csv file -> Lil modification needed..... Pin
PJ Arends25-Mar-07 13:20
professionalPJ Arends25-Mar-07 13:20 
GeneralRe: Reading csv file -> Lil modification needed..... Pin
Stephen Hewitt25-Mar-07 14:32
Stephen Hewitt25-Mar-07 14:32 
GeneralRe: Reading csv file -> Lil modification needed..... Pin
PJ Arends25-Mar-07 17:00
professionalPJ Arends25-Mar-07 17:00 
AnswerRe: Reading csv file -> Lil modification needed..... Pin
Stephen Hewitt25-Mar-07 14:35
Stephen Hewitt25-Mar-07 14:35 
GeneralRe: Reading csv file -> Lil modification needed..... Pin
Software_Specialist26-Mar-07 10:21
Software_Specialist26-Mar-07 10:21 
GeneralRe: Reading csv file -> Lil modification needed..... Pin
Stephen Hewitt26-Mar-07 13:22
Stephen Hewitt26-Mar-07 13:22 
GeneralRe: Reading csv file -> Lil modification needed..... Pin
Software_Specialist26-Mar-07 14:22
Software_Specialist26-Mar-07 14:22 
GeneralRe: Reading csv file -> Lil modification needed..... Pin
Stephen Hewitt26-Mar-07 14:32
Stephen Hewitt26-Mar-07 14:32 
GeneralRe: Reading csv file -> Lil modification needed..... Pin
Software_Specialist27-Mar-07 2:34
Software_Specialist27-Mar-07 2:34 

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.