TCAD.cpp
资源名称:CAD.zip [点击查看]
上传用户:hehe2haha
上传日期:2013-08-16
资源大小:161k
文件大小:1k
源码类别:
CAD
开发平台:
Visual C++
- // 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();
- }