--- /dev/null
+//////////////////////////////////////////////////\r
+// DXApp.h\r
+// Declaration of the CDXApp class\r
+\r
+#ifndef DXAPP_H\r
+#define DXAPP_H\r
+\r
+#include "MainFrm.h"\r
+\r
+\r
+class CDXApp : public CWinApp\r
+{\r
+public:\r
+ CDXApp();\r
+ virtual ~CDXApp() {}\r
+ virtual BOOL InitInstance();\r
+\r
+private:\r
+ CMainFrame m_Frame;\r
+};\r
+\r
+\r
+// returns a reference to the CDXApp object\r
+inline CDXApp& GetDXApp() { return *((CDXApp*)GetApp()); }\r
+\r
+\r
+#endif\r