Enter Keywords:
1 - 10 of 48(0.019 seconds)
Sort By:
 
Hi, I'd like to use CWinThread to create a simple, worker thread. I've used AfxBeginThread in the past, but CWinThread seems more encapsulated. This is probably really easy, but as usual the docum...
Zones: C++Date Answered: 07/17/1998 Rating: 6.4 Views: 37
I have a CWinThread derived thread in which I allocated some objects in overloaded function Run(), How can I exit it when user clicks the menu item "Exit it" and deallocate all the objects without ...
Zones: Windows MFCDate Answered: 09/06/1999 Rating: 6.0 Views: 0
Hi,   I am playing aroung with a multi threaded app and sockets and have the following situation...   I have a AsyncSocket in which I override OnAccept. { CConnectionThread *pConnection = new...
Zones: Windows MFCDate Answered: 12/17/1999 Rating: 7.2 Views: 0
How I must to create and pass values to object of some class if I want to use him in multithreading if I will create thread in this way: CWinThread* AfxBeginThread( CRuntimeClass* pThreadClass, int...
Zones: C++Date Answered: 07/02/2000 Rating: 7.8 Views: 0
How to force thread termination from outside the thread? I am working on the ActiveX control which creates 2 CWinThread inhereted objects, and want to provide the way to terminate those threads on...
Zones: Windows MFCDate Answered: 07/04/2000 Rating: 7.0 Views: 4
Hi,  How can I pass a pParam to a CWinThread Class?
Zones: Windows MFCDate Answered: 10/05/2000 Rating: 7.0 Views: 0
I have a class that i derived from CWinThread.  I have a dialog box app that starts two threads (or more) when it starts.  these threads execute some code that then wait a certain amount of time be...
Zones: C++Date Answered: 08/24/2001 Rating: 6.6 Views: 0
Hai all I want to end a dialog from the thread How to do that? I tried the following UINT a(LPVOID pParam ){    CMyView *pView = (CMyView *)pParam ;    Sleep(500);    for( int i =0 ...
Zones: Windows MFCDate Answered: 06/19/2003 Rating: 7.6 Views: 0
Hi I have an instant messaging app that can talk to a Bot. I have put the CInternetSession ,CHttpConnection and CHttpFile in a CWinThread to try and prevent the app locking up when a Request is ...
Zones: Windows MFCDate Answered: 12/03/2003 Rating: 9.0 Views: 0
Hi experts, I am using a CDialog. I declare a class variable just like: CDna2Protein d2p; in the header. If I use that class I can do whatever I programmed and it never crashes. However, when ...
Zones: C++Date Answered: 02/02/2005 Rating: 5.8 Views: 0