Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.4 KiB

  1. // WiaLogCFG.cpp : Defines the class behaviors for the application.
  2. //
  3. #include "stdafx.h"
  4. #include "WiaLogCFG.h"
  5. #include "WiaLogCFGDlg.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CWiaLogCFGApp
  13. BEGIN_MESSAGE_MAP(CWiaLogCFGApp, CWinApp)
  14. //{{AFX_MSG_MAP(CWiaLogCFGApp)
  15. //}}AFX_MSG
  16. ON_COMMAND(ID_HELP, CWinApp::OnHelp)
  17. END_MESSAGE_MAP()
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CWiaLogCFGApp construction
  20. CWiaLogCFGApp::CWiaLogCFGApp()
  21. {
  22. }
  23. /////////////////////////////////////////////////////////////////////////////
  24. // The one and only CWiaLogCFGApp object
  25. CWiaLogCFGApp theApp;
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CWiaLogCFGApp initialization
  28. BOOL CWiaLogCFGApp::InitInstance()
  29. {
  30. AfxInitRichEdit();
  31. // Standard initialization
  32. #ifdef _AFXDLL
  33. Enable3dControls(); // Call this when using MFC in a shared DLL
  34. #else
  35. Enable3dControlsStatic(); // Call this when linking to MFC statically
  36. #endif
  37. CWiaLogCFGDlg dlg;
  38. m_pMainWnd = &dlg;
  39. dlg.DoModal();
  40. // Since the dialog has been closed, return FALSE so that we exit the
  41. // application, rather than start the application's message pump.
  42. return FALSE;
  43. }