--- /dev/null
+/////////////////////////////////////////////////\r
+//App.cpp - Definitions for the CDialogApp class\r
+\r
+#include "dialog.h"\r
+#include "resource.h"\r
+#include "DialogApp.h"\r
+\r
+\r
+CDialogApp::CDialogApp() : MyDialog(IDD_DIALOG)\r
+{\r
+}\r
+\r
+BOOL CDialogApp::InitInstance()\r
+{\r
+ //Display the Modal Dialog\r
+ MyDialog.DoModal();\r
+\r
+ //End the program\r
+ ::PostQuitMessage(0);\r
+\r
+ return TRUE;\r
+}\r
+\r
+CDialogApp::~CDialogApp()\r
+{\r
+}\r
+\r