TCAD.cpp
上传用户:ggmm7909
上传日期:2008-11-12
资源大小:80k
文件大小:1k
- // TCAD.cpp : Defines the entry point for the application.
- //
- #include "stdafx.h"
- #include "resource.h"
- #include "WinApp.h"
- #include "MainFrame.h"
- //globe variable
- CWinApp g_theApp;
- int APIENTRY WinMain(HINSTANCE hInstance,
- HINSTANCE hPrevInstance,
- LPSTR lpCmdLine,
- int nCmdShow)
- {
- g_theApp.SetCmd(nCmdShow);
- g_theApp.SetInst(hInstance);
- g_theApp.SetAccel( LoadAccelerators(hInstance, (LPCTSTR)IDC_TCAD) );
- g_theApp.MyRegisterClass();
- if (!g_theApp.InitInstance())
- {
- return FALSE;
- }
- return g_theApp.run();
- }