Click here to Skip to main content
15,894,460 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Please Suggest some free Online Test Pin
David Crow2-Mar-07 3:13
David Crow2-Mar-07 3:13 
Questionpassing class object to thread Pin
neha.agarwal271-Mar-07 20:11
neha.agarwal271-Mar-07 20:11 
AnswerRe: passing class object to thread Pin
Naveen1-Mar-07 20:20
Naveen1-Mar-07 20:20 
GeneralRe: passing class object to thread Pin
neha.agarwal271-Mar-07 20:25
neha.agarwal271-Mar-07 20:25 
GeneralRe: passing class object to thread Pin
Naveen1-Mar-07 20:32
Naveen1-Mar-07 20:32 
GeneralRe: passing class object to thread Pin
neha.agarwal271-Mar-07 20:41
neha.agarwal271-Mar-07 20:41 
GeneralRe: passing class object to thread Pin
Naveen1-Mar-07 20:43
Naveen1-Mar-07 20:43 
GeneralRe: passing class object to thread Pin
neha.agarwal271-Mar-07 20:49
neha.agarwal271-Mar-07 20:49 
/*commo.h*/
#if !defined(AFX_COMMO_H__F29BF3A6_71CF_42F8_908F_372B46ECD074__INCLUDED_)
#define AFX_COMMO_H__F29BF3A6_71CF_42F8_908F_372B46ECD074__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// commo.h : header file
//



/////////////////////////////////////////////////////////////////////////////
// Ccommo thread

class Ccommo : public CWinThread
{
public:
DECLARE_DYNCREATE(Ccommo)
public:
Ccommo(); // protected constructor used by dynamic creation

// Attributes
public:
int nitem;
CString txt;

// Operations
public:

// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Ccommo)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL

// Implementation
public:
virtual ~Ccommo();

// Generated message map functions
//{{AFX_MSG(Ccommo)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG

DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COMMO_H__F29BF3A6_71CF_42F8_908F_372B46ECD074__INCLUDED_)

/**********commo.cpp file*************************/
// commo.cpp : implementation file
//

#include "stdafx.h"
#include "totalthread.h"
#include "commo.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// Ccommo

IMPLEMENT_DYNCREATE(Ccommo, CWinThread)

Ccommo::Ccommo()
{
}

Ccommo::~Ccommo()
{
}

BOOL Ccommo::InitInstance()
{
// TODO: perform and per-thread initialization here
return TRUE;
}

int Ccommo::ExitInstance()
{
// TODO: perform any per-thread cleanup here
return CWinThread::ExitInstance();
}

BEGIN_MESSAGE_MAP(Ccommo, CWinThread)
//{{AFX_MSG_MAP(Ccommo)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Ccommo message handlers




GeneralRe: passing class object to thread Pin
Naveen1-Mar-07 20:53
Naveen1-Mar-07 20:53 
GeneralRe: passing class object to thread Pin
neha.agarwal271-Mar-07 21:08
neha.agarwal271-Mar-07 21:08 
GeneralRe: passing class object to thread Pin
Naveen1-Mar-07 21:17
Naveen1-Mar-07 21:17 
GeneralRe: passing class object to thread Pin
neha.agarwal271-Mar-07 21:22
neha.agarwal271-Mar-07 21:22 
GeneralRe: passing class object to thread Pin
Naveen1-Mar-07 22:19
Naveen1-Mar-07 22:19 
AnswerRe: passing class object to thread Pin
BadKarma1-Mar-07 22:43
BadKarma1-Mar-07 22:43 
QuestionCWebBrowser2 Control Pin
Sonani Prakash1-Mar-07 20:02
Sonani Prakash1-Mar-07 20:02 
AnswerRe: CWebBrowser2 Control Pin
Sameer_Thakur1-Mar-07 21:12
Sameer_Thakur1-Mar-07 21:12 
GeneralRe: CWebBrowser2 Control Pin
Sonani Prakash1-Mar-07 21:59
Sonani Prakash1-Mar-07 21:59 
QuestionProblem while using Windows Registry Pin
harsh_29611-Mar-07 18:53
harsh_29611-Mar-07 18:53 
AnswerRe: Problem while using Windows Registry Pin
Mark Salsbery1-Mar-07 18:58
Mark Salsbery1-Mar-07 18:58 
GeneralRe: Problem while using Windows Registry Pin
harsh_29611-Mar-07 19:43
harsh_29611-Mar-07 19:43 
AnswerRe: Problem while using Windows Registry Pin
prasad_som1-Mar-07 18:58
prasad_som1-Mar-07 18:58 
AnswerRe: Problem while using Windows Registry Pin
ThatsAlok1-Mar-07 20:31
ThatsAlok1-Mar-07 20:31 
GeneralRe: Problem while using Windows Registry Pin
harsh_29611-Mar-07 19:43
harsh_29611-Mar-07 19:43 
GeneralRe: Problem while using Windows Registry Pin
Hamid_RT1-Mar-07 20:36
Hamid_RT1-Mar-07 20:36 
GeneralRe: Problem while using Windows Registry Pin
ThatsAlok1-Mar-07 21:21
ThatsAlok1-Mar-07 21:21 

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.