TCAD.cpp
上传用户:hehe2haha
上传日期:2013-08-16
资源大小:161k
文件大小:1k
源码类别:

CAD

开发平台:

Visual C++

  1. // TCAD.cpp : Defines the entry point for the application.
  2. //
  3. #include "stdafx.h"
  4. #include "resource.h"
  5. #include "WinApp.h"
  6. #include "MainFrame.h"
  7. //globe variable
  8. CWinApp g_theApp;
  9. int APIENTRY WinMain(HINSTANCE hInstance,
  10.                      HINSTANCE hPrevInstance,
  11.                      LPSTR     lpCmdLine,
  12.                      int       nCmdShow)
  13. {
  14.   g_theApp.SetCmd(nCmdShow);
  15. g_theApp.SetInst(hInstance);
  16. g_theApp.SetAccel( LoadAccelerators(hInstance, (LPCTSTR)IDC_TCAD) );
  17. g_theApp.MyRegisterClass();
  18. if (!g_theApp.InitInstance()) 
  19. {
  20. return FALSE;
  21. }
  22. return g_theApp.run();
  23. }