91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 31KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-16
  • 語(yǔ)言: C/C++
  • 標(biāo)簽: GPIB_VC++??

資源簡(jiǎn)介

GPIB_VC++ 開發(fā)庫(kù)及示例,是初學(xué)者參考的不錯(cuò)示例。

資源截圖

代碼片段和文件信息

//?GPIB.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“GPIB.h“
#include?“GPIBDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CGPIBApp

BEGIN_MESSAGE_MAP(CGPIBApp?CWinApp)
//{{AFX_MSG_MAP(CGPIBApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CGPIBApp?construction

CGPIBApp::CGPIBApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CGPIBApp?object

CGPIBApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CGPIBApp?initialization

BOOL?CGPIBApp::InitInstance()
{
//?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

CGPIBDlg?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;
}

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????????636??2003-12-13?17:31??Resource.h
?????目錄???????????0??2003-12-13?17:15??res\
?????文件?????????396??2003-12-13?17:15??res\GPIB.rc2
?????文件????????1078??2003-12-13?17:15??res\GPIB.ico
?????文件????????1173??2003-12-13?19:14??GPIB.clw
?????文件????????2002??2003-12-13?17:15??GPIB.cpp
?????文件????????4123??2003-12-13?17:15??GPIB.dsp
?????文件?????????533??2003-12-13?17:15??GPIB.dsw
?????文件????????1302??2003-12-13?17:15??Gpib.h
?????文件????????9814??1997-08-04?16:42??Gpib.lib
?????文件????????5373??2003-12-13?17:31??GPIB.rc
?????文件?????????753??2003-12-13?17:33??GpibAPI.h
?????文件????????4241??2003-12-13?19:21??GPIBDlg.cpp
?????文件????????1323??2003-12-13?17:44??GPIBDlg.h
?????文件????????3543??2003-12-13?17:15??ReadMe.txt
?????目錄???????????0??2003-12-13?17:54??Release\
?????文件???????33792??1997-08-04?16:42??Release\Gpib.dll
?????文件???????20480??2003-12-13?19:21??Release\GPIB.exe
?????文件?????????206??2003-12-13?17:15??StdAfx.cpp
?????文件?????????999??2003-12-13?17:15??StdAfx.h

評(píng)論

共有 條評(píng)論

相關(guān)資源