If application hangs while SendMessage is waiting for the
result, how you handle it?

Answers were Sorted based on User's Feedback



If application hangs while SendMessage is waiting for the result, how you handle it?..

Answer / indranil

You can use PostMessage API instead.

Is This Answer Correct ?    15 Yes 2 No

If application hangs while SendMessage is waiting for the result, how you handle it?..

Answer / nambirajan

Instead of SendMessage API i will use the SendMessageTimeout
API to solve the system hang

Is This Answer Correct ?    6 Yes 3 No

Post New Answer

More MFC Interview Questions

Hi All, i am new for VC++ SDK. i want to get the IP Address of all the External device connected with my local machine.please give the code Regards, Praveer

1 Answers   TCS, Tech Mahindra,


what is message loop how mfc does it internally?

4 Answers   Aspire,


In VC++ How to transfer between one exe to another exe while running..

5 Answers   Wipro,


I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?

1 Answers  


1) How do you Destroy a Dialog Box ?

2 Answers   Honeywell,


How can i implement the dynamic menus in MFC plz give the code

2 Answers  


How many types of dialog box are their

10 Answers   Honeywell,


What is the use of CObject::Dump function ?

4 Answers  


Difference between Cclint DC & Cpaint Dc

6 Answers   E Logic,


How to setup a timer?

3 Answers   IBM,


How can server communicate with more than one client

2 Answers   Invensys,


How to access document object from view ?

1 Answers  


Categories