Click here to Skip to main content
11,411,494 members (63,112 online)
Click here to Skip to main content
Add your own
alternative version

Real-Time Console Output Redirection

, 31 Oct 2006 Zlib
Console process output flushing is no longer a problem with this little stub.
rtconsoledemo.zip
RTconsoleDemo
Demo
Demo.dsp
res
Demo.ico
Demo.dsw
DemoConsole
DemoConsole.dsp
Release
Demo.exe
DemoConsole.exe
RTconsole.exe
RTconsole
RTconsole.dsp
// Demo.h : main header file for the DEMO application
//

#if !defined(AFX_DEMO_H__805B4BCB_5CBE_4E4D_B3D0_4EBF05D14A7F__INCLUDED_)
#define AFX_DEMO_H__805B4BCB_5CBE_4E4D_B3D0_4EBF05D14A7F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CDemoApp:
// See Demo.cpp for the implementation of this class
//

class CDemoApp : public CWinApp
{
public:
	CDemoApp();

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

// Implementation

	//{{AFX_MSG(CDemoApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


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

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

#endif // !defined(AFX_DEMO_H__805B4BCB_5CBE_4E4D_B3D0_4EBF05D14A7F__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The zlib/libpng License

Share

About the Author

_Olivier_
Architect
France France
Programmer since the age of 7. Windows programmer for more than 10 years
I'm now 30 years old, working as software architect, team leader and lead programmer.

You can find some of the programs I released for Internet users at my web site

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150414.5 | Last Updated 31 Oct 2006
Article Copyright 2006 by _Olivier_
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid