Click here to Skip to main content
16,005,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Threads in MFC - trying to understand... Pin
charlieg17-Nov-05 9:00
charlieg17-Nov-05 9:00 
AnswerRe: Threads in MFC - trying to understand... Pin
Sheng Jiang 蒋晟17-Nov-05 12:44
Sheng Jiang 蒋晟17-Nov-05 12:44 
GeneralRe: Threads in MFC - trying to understand... Pin
charlieg17-Nov-05 13:55
charlieg17-Nov-05 13:55 
GeneralRe: Threads in MFC - trying to understand... Pin
Sheng Jiang 蒋晟17-Nov-05 14:17
Sheng Jiang 蒋晟17-Nov-05 14:17 
QuestionThread Safe Static Library Problem Pin
Federico Milano17-Nov-05 2:38
Federico Milano17-Nov-05 2:38 
AnswerRe: Thread Safe Static Library Problem Pin
Graham Bradshaw17-Nov-05 2:48
Graham Bradshaw17-Nov-05 2:48 
GeneralRe: Thread Safe Static Library Problem Pin
Federico Milano17-Nov-05 4:17
Federico Milano17-Nov-05 4:17 
AnswerRe: Thread Safe Static Library Problem Pin
Tim Smith17-Nov-05 3:01
Tim Smith17-Nov-05 3:01 
Don't allow the client to call your software during image load and use a RAII static critical section. This can be a verbal contract that isn't enforced in software.

Having things happen during image load is a really bad idea and leads to the types of problems you are having to deal with. If you just have to have things happen on image load via constructors, the constructors should never refrence another C++ object and only reference POD objects.


Tim Smith

I'm going to patent thought. I have yet to see any prior art.
AnswerRe: Thread Safe Static Library Problem Pin
James R. Twine17-Nov-05 6:09
James R. Twine17-Nov-05 6:09 
QuestionCHtmlView problem ? Pin
kendao17-Nov-05 2:34
kendao17-Nov-05 2:34 
AnswerRe: CHtmlView problem ? Pin
Sheng Jiang 蒋晟17-Nov-05 12:47
Sheng Jiang 蒋晟17-Nov-05 12:47 
QuestionCImageList question? Pin
followait17-Nov-05 0:39
followait17-Nov-05 0:39 
AnswerRe: CImageList question? Pin
Rage17-Nov-05 1:13
professionalRage17-Nov-05 1:13 
GeneralRe: CImageList question? Pin
followait17-Nov-05 3:18
followait17-Nov-05 3:18 
GeneralRe: CImageList question? Pin
Rage17-Nov-05 5:54
professionalRage17-Nov-05 5:54 
QuestionJavaScript from ActiveX Control Pin
Priyank Bolia17-Nov-05 0:30
Priyank Bolia17-Nov-05 0:30 
AnswerRe: JavaScript from ActiveX Control Pin
Eytukan17-Nov-05 3:03
Eytukan17-Nov-05 3:03 
GeneralRe: JavaScript from ActiveX Control Pin
Sheng Jiang 蒋晟17-Nov-05 12:47
Sheng Jiang 蒋晟17-Nov-05 12:47 
GeneralRe: JavaScript from ActiveX Control Pin
ThatsAlok17-Nov-05 21:44
ThatsAlok17-Nov-05 21:44 
GeneralRe: JavaScript from ActiveX Control Pin
Sheng Jiang 蒋晟18-Nov-05 2:51
Sheng Jiang 蒋晟18-Nov-05 2:51 
QuestionType of an Object Pin
romuzu16-Nov-05 23:20
romuzu16-Nov-05 23:20 
AnswerRe: Type of an Object Pin
Gizzo16-Nov-05 23:49
Gizzo16-Nov-05 23:49 
AnswerRe: Type of an Object Pin
followait17-Nov-05 0:46
followait17-Nov-05 0:46 
AnswerRe: Type of an Object Pin
David Crow17-Nov-05 2:39
David Crow17-Nov-05 2:39 
QuestionStrange Child Windows Pin
Fester_197716-Nov-05 21:18
Fester_197716-Nov-05 21:18 

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.