// CgDemoBy5000asi.h : main header file for the CgDemoBy5000asi application
//

#if !defined(AFX_CgDemoBy5000asi_H__4B62CC01_C4C2_4761_9565_08233FDF9823__INCLUDED_)
#define AFX_CgDemoBy5000asi_H__4B62CC01_C4C2_4761_9565_08233FDF9823__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
#include "afxtempl.h"      
#include "Afxmt.h"      
#include "By5000asiplay.h"

#define  MAX_CARD	100

/////////////////////////////////////////////////////////////////////////////
// CCgDemoBy5000asiApp:
// See CgDemoBy5000asi.cpp for the implementation of this class
//

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

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

// Implementation

public:
	//{{AFX_MSG(CCgDemoBy5000asiApp)
	afx_msg void OnAppAbout();
		// 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()
};

void CreateWndThread();
void FreeWndThread(CWinThread * pThread);

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

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

#endif // !defined(AFX_CgDemoBy5000asi_H__4B62CC01_C4C2_4761_9565_08233FDF9823__INCLUDED_)
extern CTypedPtrArray<CPtrArray, CWinThread *> gptrThread;
extern CEvent gEvent;
extern BOOL gbCard[];
extern UINT giCardSum; 
