資源簡介
VC實現PCI板卡運動控制,開放式運動控制系統開發

代碼片段和文件信息
//?1380Try.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“1380Try.h“
#include?“1380TryDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy1380TryApp
BEGIN_MESSAGE_MAP(CMy1380TryApp?CWinApp)
//{{AFX_MSG_MAP(CMy1380TryApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CMy1380TryApp?construction
CMy1380TryApp::CMy1380TryApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy1380TryApp?object
CMy1380TryApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy1380TryApp?initialization
BOOL?CMy1380TryApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CMy1380TryDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????53248??2009-11-02?09:36??代碼\1380Prj.IAB
?????文件????????848??2009-11-02?09:36??代碼\1380Prj.IAD
?????文件??????16384??2009-11-02?09:36??代碼\1380Prj.IMB
?????文件????????488??2009-11-02?09:36??代碼\1380Prj.IMD
?????文件?????????36??2009-11-02?09:36??代碼\1380Prj.PFI
?????文件????????776??2009-11-02?09:36??代碼\1380Prj.PO
?????文件???????4568??2009-11-02?09:36??代碼\1380Prj.PR
?????文件??????26824??2009-11-02?09:36??代碼\1380Prj.PRI
?????文件??????99928??2009-11-02?09:36??代碼\1380Prj.PS
?????文件????????256??2009-11-02?09:36??代碼\1380Prj.SearchResults
?????文件??????32844??2009-11-02?09:36??代碼\1380Prj.WK3
?????文件??????11071??2010-11-26?14:23??代碼\1380Try.clw
?????文件???????2099??2009-11-02?09:36??代碼\1380Try.cpp
?????文件???????5528??2009-11-02?09:36??代碼\1380Try.dsp
?????文件????????539??2009-11-02?09:36??代碼\1380Try.dsw
?????文件???????1345??2009-11-02?09:36??代碼\1380Try.h
?????文件?????148480??2010-11-26?14:23??代碼\1380Try.ncb
?????文件???????1517??2009-11-02?09:36??代碼\1380TryDlg.h
?????文件???????1730??2009-11-02?09:36??代碼\DRAWDIALOG.h
?????文件????????663??2009-11-02?09:36??代碼\DRAWITEM.cpp
?????文件???????1140??2009-11-02?09:36??代碼\DRAWITEM.h
?????文件???????4469??2009-11-02?09:36??代碼\Dmc1380.h
?????文件???????2264??2009-11-02?09:36??代碼\IOTestDlg.h
?????文件???????3603??2009-11-02?09:36??代碼\ReadMe.txt
?????文件????????209??2009-11-02?09:36??代碼\StdAfx.cpp
?????文件???????1054??2009-11-02?09:36??代碼\StdAfx.h
?????文件??????86718??2009-11-02?09:36??代碼\card1.bmp
?????文件????????160??2009-11-02?09:36??代碼\data.txt
?????文件???????1249??2009-11-02?09:36??代碼\include.h
?????文件???????8356??2009-11-02?09:36??代碼\resource.h
............此處省略24個文件信息
評論
共有 條評論