Click here to Skip to main content
15,891,864 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Calling .NET DLL from MFC App Pin
jhwurmbach15-Apr-08 23:58
jhwurmbach15-Apr-08 23:58 
GeneralRe: Calling .NET DLL from MFC App Pin
Hamid_RT16-Apr-08 0:47
Hamid_RT16-Apr-08 0:47 
GeneralRe: Calling .NET DLL from MFC App Pin
Shivarudrayya H16-Apr-08 1:07
Shivarudrayya H16-Apr-08 1:07 
GeneralJob Interview Question: How can I play a movie using Visual Studio Pin
kanekcwu15-Apr-08 19:37
kanekcwu15-Apr-08 19:37 
GeneralRe: Job Interview Question: How can I play a movie using Visual Studio Pin
Mukesh Kumar15-Apr-08 19:55
Mukesh Kumar15-Apr-08 19:55 
GeneralRe: Job Interview Question: How can I play a movie using Visual Studio Pin
rjkg15-Apr-08 23:05
rjkg15-Apr-08 23:05 
GeneralRe: Job Interview Question: How can I play a movie using Visual Studio Pin
Hamid_RT16-Apr-08 0:36
Hamid_RT16-Apr-08 0:36 
Questiondll problem Pin
trioum15-Apr-08 19:12
trioum15-Apr-08 19:12 
GeneralRe: dll problem Pin
Hamid_RT15-Apr-08 19:45
Hamid_RT15-Apr-08 19:45 
GeneralRe: dll problem Pin
trioum15-Apr-08 19:55
trioum15-Apr-08 19:55 
GeneralRe: dll problem Pin
Stephen Hewitt15-Apr-08 20:17
Stephen Hewitt15-Apr-08 20:17 
GeneralRe: dll problem Pin
GDavy15-Apr-08 21:03
GDavy15-Apr-08 21:03 
GeneralWaitForSingleObject problem [modified] Pin
followait15-Apr-08 19:07
followait15-Apr-08 19:07 
GeneralRe: WaitForSingleObject problem Pin
Stephen Hewitt15-Apr-08 19:16
Stephen Hewitt15-Apr-08 19:16 
GeneralRe: WaitForSingleObject problem Pin
Rajkumar R15-Apr-08 19:36
Rajkumar R15-Apr-08 19:36 
followait wrote:
WaitForSingleObject(h,INFINITE);


Assuming h is the handle to the thread that is filling the List items.


followait wrote:
I think CListCtrl uses its owner message loop to do InsertItem

The message loop is in the same thread where the OnDestroy Message is queue as the list control is created in that thread.


followait wrote:
Why does it block here?

It is actually a deadlock as InsertItem sends the message to the List View control and waiting for the message to be processed while the message loop which processes the WM_DESTROY message from the same message queue waiting for the thread that send the message.
GeneralRe: WaitForSingleObject problem Pin
followait15-Apr-08 19:56
followait15-Apr-08 19:56 
GeneralRe: WaitForSingleObject problem Pin
followait15-Apr-08 20:14
followait15-Apr-08 20:14 
GeneralRe: WaitForSingleObject problem Pin
Rajkumar R15-Apr-08 20:24
Rajkumar R15-Apr-08 20:24 
GeneralRe: WaitForSingleObject problem Pin
followait15-Apr-08 20:33
followait15-Apr-08 20:33 
GeneralRe: WaitForSingleObject problem Pin
Rajkumar R15-Apr-08 20:35
Rajkumar R15-Apr-08 20:35 
GeneralRe: WaitForSingleObject problem Pin
followait15-Apr-08 20:40
followait15-Apr-08 20:40 
GeneralRe: WaitForSingleObject problem Pin
Rajkumar R15-Apr-08 20:53
Rajkumar R15-Apr-08 20:53 
GeneralRe: WaitForSingleObject problem Pin
followait15-Apr-08 21:10
followait15-Apr-08 21:10 
Questionhow to find out admin privelege Pin
Jiju_b15-Apr-08 18:48
Jiju_b15-Apr-08 18:48 
AnswerRe: how to find out admin privelege Pin
Rajkumar R15-Apr-08 19:04
Rajkumar R15-Apr-08 19:04 

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.