Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSerialize problem Pin
bashi4-Nov-01 20:09
bashi4-Nov-01 20:09 
GeneralAveraging & Median Filters Pin
4-Nov-01 19:50
suss4-Nov-01 19:50 
GeneralRe: Averaging & Median Filters Pin
markkuk4-Nov-01 20:00
markkuk4-Nov-01 20:00 
QuestionBoot Disk? Pin
Stephen Caldwell4-Nov-01 18:16
Stephen Caldwell4-Nov-01 18:16 
AnswerRe: Boot Disk? Pin
markkuk4-Nov-01 20:28
markkuk4-Nov-01 20:28 
AnswerRe: Boot Disk? Pin
Jon Hulatt4-Nov-01 22:52
Jon Hulatt4-Nov-01 22:52 
GeneralVC++ Multi-Threaded Add-In... Pin
4-Nov-01 18:14
suss4-Nov-01 18:14 
GeneralRe: VC++ Multi-Threaded Add-In... Pin
Jamie Hale5-Nov-01 6:18
Jamie Hale5-Nov-01 6:18 
I'm actually having a similar problem but not with add-ins.

I have an MFC application that has the Python interpreter embedded in it. We use Python to script our automation stuff. When I had the script running in the main thread, I could automate all the framework stuff (opening files, changing the views, etc). When I moved the script into a worker thread, all of a sudden all my framework manipulation started throwing weird access violations. I traced them down and it looks like the framework is asserting when it goes to touch one of the windows. It looks like the hWnd is null or bad or different or something.

I get the feeling that the MFC framework has issues with multi-threaded access to its internals.

If you figure it out, please let me know. Smile | :)

J

GeneralNeed help urgently in my MCSD questions Pin
Assem Abdel Maqsoud4-Nov-01 15:58
Assem Abdel Maqsoud4-Nov-01 15:58 
GeneralRe: Need help urgently in my MCSD questions Pin
Jim A. Johnson4-Nov-01 16:41
Jim A. Johnson4-Nov-01 16:41 
GeneralRe: Need help urgently in my MCSD questions Pin
Christian Graus4-Nov-01 16:48
protectorChristian Graus4-Nov-01 16:48 
GeneralRe: Need help urgently in my MCSD questions Pin
Michael Martin4-Nov-01 17:41
professionalMichael Martin4-Nov-01 17:41 
GeneralRe: Need help urgently in my MCSD questions Pin
Christian Graus4-Nov-01 17:56
protectorChristian Graus4-Nov-01 17:56 
GeneralRe: Need help urgently in my MCSD questions Pin
Chris Maunder4-Nov-01 20:11
cofounderChris Maunder4-Nov-01 20:11 
GeneralRe: Need help urgently in my MCSD questions Pin
Nish Nishant4-Nov-01 20:25
sitebuilderNish Nishant4-Nov-01 20:25 
GeneralRe: Need help urgently in my MCSD questions Pin
Christian Graus4-Nov-01 21:58
protectorChristian Graus4-Nov-01 21:58 
GeneralRe: Need help urgently in my MCSD questions Pin
Jon Hulatt4-Nov-01 22:56
Jon Hulatt4-Nov-01 22:56 
GeneralRe: Need help urgently in my MCSD questions Pin
Chris Maunder5-Nov-01 1:39
cofounderChris Maunder5-Nov-01 1:39 
GeneralRe: Need help urgently in my MCSD questions Pin
Tomasz Sowinski5-Nov-01 1:57
Tomasz Sowinski5-Nov-01 1:57 
GeneralRe: Need help urgently in my MCSD questions Pin
Assem Abdel Maqsoud5-Nov-01 7:03
Assem Abdel Maqsoud5-Nov-01 7:03 
GeneralRe: Need help urgently in my MCSD questions Pin
Not Active5-Nov-01 2:20
mentorNot Active5-Nov-01 2:20 
GeneralRe: Need help urgently in my MCSD questions Pin
5-Nov-01 7:11
suss5-Nov-01 7:11 
GeneralRe: Need help urgently in my MCSD questions Pin
5-Nov-01 7:11
suss5-Nov-01 7:11 
GeneralRe: Need help urgently in my MCSD questions Pin
Christian Graus5-Nov-01 8:44
protectorChristian Graus5-Nov-01 8:44 
GeneralRe: Need help urgently in my MCSD questions Pin
Assem Abdel Maqsoud5-Nov-01 7:02
Assem Abdel Maqsoud5-Nov-01 7:02 

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.