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

C / C++ / MFC

 
AnswerRe: DLL Function Noobie Pin
kakan17-Nov-05 20:31
professionalkakan17-Nov-05 20:31 
Questionoddities of visual studio.net 2005.... Pin
(Steven Hicks)n+117-Nov-05 6:52
(Steven Hicks)n+117-Nov-05 6:52 
QuestionThreads in MFC - trying to understand... Pin
charlieg17-Nov-05 6:44
charlieg17-Nov-05 6:44 
AnswerRe: Threads in MFC - trying to understand... Pin
David Crow17-Nov-05 8:56
David Crow17-Nov-05 8:56 
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 
MFC maintains a 1-1 map between handles and objects that is local to each thread, and some functions, such as CWnd::AssertValid and CWnd::GetParentFrame, acturally rely on an assumption that it is not called from another thread, so the object can be retrived from the map by looking for the handle.

ref.

thread states in MSDN TN058
MTMDI: Demonstrates an MFC User Interface Thread (Visual C++ Samples)
http://www.mvps.org/vcfaq/mfc/11.htm[^]

My blogs:

http://blog.joycode.com/jiangsheng
http://blog.csdn.net/jiangsheng
http://bloglines.com/public/jiangsheng

Command what is yours
Conquer what is not
---Kane
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 
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 

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.