Click here to Skip to main content
16,011,743 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Internationalization Pin
truestepper3-Sep-07 4:17
truestepper3-Sep-07 4:17 
AnswerRe: Internationalization Pin
jhwurmbach3-Sep-07 3:31
jhwurmbach3-Sep-07 3:31 
GeneralRe: Internationalization Pin
Krishnatv3-Sep-07 3:51
Krishnatv3-Sep-07 3:51 
AnswerRe: Internationalization Pin
Maximilien3-Sep-07 3:35
Maximilien3-Sep-07 3:35 
AnswerRe: Internationalization Pin
Hamid_RT3-Sep-07 4:48
Hamid_RT3-Sep-07 4:48 
Questionlanguage specific characters dialog Pin
truestepper3-Sep-07 2:43
truestepper3-Sep-07 2:43 
QuestionPass XML to an HTTP address in Visual C Pin
mariokempes3-Sep-07 2:33
mariokempes3-Sep-07 2:33 
Questionabout Thread Creation Pin
Member 43990943-Sep-07 2:28
Member 43990943-Sep-07 2:28 
Dear all
I write one DLL program which creates one thread.
but when I call AfxBeginThread routine, I find that AfxBeginThread hangs and dont return.
When I trace the code , I find that , in THRDCORE.CPP at following line, my program hangs.
// start the thread just for MFC initialization
VERIFY(ResumeThread() != (DWORD)-1);
VERIFY(::WaitForSingleObject(startup.hEvent, INFINITE) == WAIT_OBJECT_0);
::CloseHandle(startup.hEvent);

at second VERIFY routine my program hangs up and waits for infinite.
I dont know the reason. but if you know please let me know.
Regards
Monhi

AnswerRe: about Thread Creation Pin
chandu0043-Sep-07 2:32
chandu0043-Sep-07 2:32 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 2:41
Member 43990943-Sep-07 2:41 
GeneralRe: about Thread Creation Pin
chandu0043-Sep-07 2:47
chandu0043-Sep-07 2:47 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 3:00
Member 43990943-Sep-07 3:00 
AnswerRe: about Thread Creation Pin
Mark Salsbery3-Sep-07 8:57
Mark Salsbery3-Sep-07 8:57 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 21:53
Member 43990943-Sep-07 21:53 
GeneralRe: about Thread Creation Pin
Mark Salsbery4-Sep-07 5:14
Mark Salsbery4-Sep-07 5:14 
QuestionMSWord com add-in problem Pin
Tarek Jabri3-Sep-07 2:05
Tarek Jabri3-Sep-07 2:05 
AnswerRe: MSWord com add-in problem Pin
chandu0043-Sep-07 2:28
chandu0043-Sep-07 2:28 
Questionabout task manager Pin
Member 43990943-Sep-07 1:59
Member 43990943-Sep-07 1:59 
AnswerRe: about task manager Pin
chandu0043-Sep-07 2:25
chandu0043-Sep-07 2:25 
GeneralRe: about task manager Pin
Jerry Hammond4-Sep-07 20:24
Jerry Hammond4-Sep-07 20:24 
AnswerRe: about task manager Pin
Russell'3-Sep-07 3:13
Russell'3-Sep-07 3:13 
QuestionHow to get last window's hwnd Pin
josip cagalj3-Sep-07 1:45
josip cagalj3-Sep-07 1:45 
AnswerRe: How to get last window's hwnd Pin
Nishad S3-Sep-07 2:46
Nishad S3-Sep-07 2:46 
GeneralRe: How to get last window's hwnd [modified] Pin
josip cagalj3-Sep-07 21:52
josip cagalj3-Sep-07 21:52 
QuestionTDI Server Programme .... TdiBuildListen help Pin
barun_iit3-Sep-07 0:30
barun_iit3-Sep-07 0:30 

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.