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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10064296.html
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 ...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10202000.htm...
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...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10246658.htm...
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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10586021.html
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...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10591761.htm...
Zones:
Windows MFCDate Answered: 07/04/2000 Rating: 7.0 Views: 4
Hi,
How can I pass a pParam to a CWinThread Class?
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_11445619.htm...
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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20173009.html
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 ...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_20653250.htm...
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 ...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_20815171.htm...
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 ...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21275145.html
Zones:
C++Date Answered: 02/02/2005 Rating: 5.8 Views: 0