What types of threads are supported by MFC framework?
Answers were Sorted based on User's Feedback
Answer / yasar
MFC supports Two types of threads 1. Worker thread and 2.
user interface thread.
Worker Thread : Does not need user intervention while
running. example background printing etc...
User interface thread : Needs user interface while running
like needs input from user to process further etc....
AfxBeginThread() is used to Create both worker and User
interface thread. to differentiate worker and user-
interface thread AfxBeginThread has minor changes.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / kaivalya
Worker Thread: Run back ground tasks like writing into file
or reading from file , calculations.
User interface thread: Will create windows & process message
| Is This Answer Correct ? | 1 Yes | 3 No |
In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?
what is the use of CWinApp class?
what is the use of CCmdTarget?
1) How do you Destroy a Dialog Box ?
What is difference between the TCP/IP and UDP socket
What is the difference between workrer thread and UI thread
Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer
How you find memory leaks?
What is the initial function to be called in MFC and what it will do
How to setup a timer?
What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?
what is the use of Mutex and critical section