| 16 | |
| 17 | |
| 18 | int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPTSTR /*lpstrCmdLine*/, int /*nCmdShow*/) |
| 19 | { |
| 20 | HRESULT hRes = ::CoInitialize(NULL); |
| 21 | ATLASSERT(SUCCEEDED(hRes)); |
| 22 | |
| 23 | AtlInitCommonControls(ICC_WIN95_CLASSES | ICC_DATE_CLASSES); |
| 24 | |
| 25 | hRes = _Module.Init(NULL, hInstance); |
| 26 | ATLASSERT(SUCCEEDED(hRes)); |
| 27 | |
| 28 | CMainDlg dlgMain; |
| 29 | int nRet = dlgMain.DoModal(); |
| 30 | |
| 31 | _Module.Term(); |
| 32 | ::CoUninitialize(); |
| 33 | |
| 34 | return nRet; |
| 35 | } |
nothing calls this directly
no outgoing calls
no test coverage detected