|
// wprtl.h : main header file for the PROJECT_NAME application
#ifndef __MAIN_H__
#define __MAIN_H__
#if defined( _MSC_VER ) && ( _MSC_VER >= 1020 )
#pragma once
#endif
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
/////////////////////////////////////////////////////////////////////////////
#include "Wizard.h"
#include "WizPages.h"
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// Shared data
#pragma comment( linker, "/SECTION:.Shared,RWS" )
#pragma data_seg( ".Shared" )
__declspec( selectany ) HWND g_hwndMain = NULL; // One instance for all processes
#pragma data_seg()
/////////////////////////////////////////////////////////////////////////////
// CApp:
class CApp : public CWinApp
{
public:
CApp( void );
virtual ~CApp( void );
public: // Overrides
virtual BOOL InitInstance();
public:
BOOL DoEvents( void );
BOOL IsFirstInstance( void );
BOOL IsOsVersionOk( void );
BOOL IsSqlServerVersionOk( void );
void GetLogFileName( void );
public: // Implementation
DECLARE_MESSAGE_MAP()
public:
LPCTSTR m_pszLogName;
};
/////////////////////////////////////////////////////////////////////////////
extern CApp theApp;
/////////////////////////////////////////////////////////////////////////////
#endif // __MAIN_H__
/////////////////////////////////////////////////////////////////////////////
|
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.