#include "stdafx.h"
#include "mdi.h"
#include "RevPlayThread.h"
#include "mainfrm.h"
#include "winsock2.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/
// CMdiApp
BEGIN_MESSAGE_MAP(CMdiApp, CWinApp)
//{{AFX_MSG_MAP(CMdiApp)
ON_COMMAND(ID_APP_ABOUT, OnAppAbout)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/
// CMdiApp construction
// Place all significant initialization in InitInstance
int CMdiApp::ExitInstance()
{
// CoUninitialize();
WSACleanup();
CloseHandle(CRevPlayThread::m_hEventRevPlayThreadKilled);
return CWinApp::ExitInstance();
}
/
// CMdiApp commands
void CMdiApp::OnAppAbout()
{
CDialog(IDD_ABOUTBOX).DoModal();
}
/
// other globals
// Color array maps to Color menu
COLORREF NEAR colorArray[] =
{
RGB (0, 0, 0),
RGB (255, 0, 0),
RGB (0, 255, 0),
RGB (0, 0, 255),
RGB (255, 255, 255)
};
/