COM原理与应用源代码
com原理与应用书及源码,网上大都不全这是比较完整的
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6713 2003-08-28 21:02 Samplesch11calcdrivcalcdriv.cpp
文件 6746 2003-08-28 21:02 Samplesch11calcdrivcalcdriv.dsp
文件 539 2003-08-28 21:02 Samplesch11calcdrivcalcdriv.dsw
文件 2177 2003-08-28 21:02 Samplesch11calcdrivcalcdriv.h
文件 9294 2003-08-28 21:02 Samplesch11calcdrivcalcdriv.mak
文件 3148 2003-08-28 21:03 Samplesch11calcdrivcalcdriv.rc
文件 2268 2003-08-28 21:03 Samplesch11calcdrivcalctype.cpp
文件 1012 2003-08-28 21:03 Samplesch11calcdrivcalctype.h
文件 640 2003-08-28 21:03 Samplesch11calcdrivmakefile
文件 20480 2003-08-28 21:02 Samplesch11calcdrivReleasecalcdriv.exe
文件 766 2003-08-28 21:02 Samplesch11calcdriv
escalcdriv.ico
文件 1556 2003-08-28 21:02 Samplesch11calcdriv
escalcdriv.rc2
文件 938 2003-08-28 21:03 Samplesch11calcdriv
esource.h
文件 519 2003-08-28 21:03 Samplesch11calcdrivstdafx.cpp
文件 806 2003-08-28 21:03 Samplesch11calcdrivstdafx.h
文件 34304 2003-08-28 21:03 Samplesch11CalcDrv.xls
文件 11335 2003-08-28 21:03 Samplesch11mfccalccalcdlg.cpp
文件 2979 2003-08-28 21:03 Samplesch11mfccalccalcdlg.h
文件 642 2003-08-28 21:03 Samplesch11mfccalcmakefile
文件 3021 2003-08-28 21:03 Samplesch11mfccalcmfccalc.cpp
文件 6709 2003-08-28 21:03 Samplesch11mfccalcmfccalc.dsp
文件 537 2003-08-28 21:03 Samplesch11mfccalcmfccalc.dsw
文件 1317 2003-08-28 21:03 Samplesch11mfccalcmfccalc.h
文件 9210 2003-08-28 21:03 Samplesch11mfccalcmfccalc.mak
文件 1263 2003-08-28 21:03 Samplesch11mfccalcmfccalc.odl
文件 7010 2003-08-28 21:03 Samplesch11mfccalcmfccalc.rc
文件 650 2003-08-28 21:03 Samplesch11mfccalcmfccalc.reg
文件 24576 2003-08-28 21:03 Samplesch11mfccalcReleasemfccalc.exe
文件 766 2003-08-28 21:03 Samplesch11mfccalc
esmfccalc.ico
文件 399 2003-08-28 21:03 Samplesch11mfccalc
esmfccalc.rc2
............此处省略491个文件信息
// calcdriv.cpp : Defines the class behaviors for the application.
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#include “stdafx.h“
#include “calcdriv.h“
#ifdef _DEBUG
#undef THIS_FILE
static char baseD_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCalcDrivApp
BEGIN_MESSAGE_MAP(CCalcDrivApp CWinApp)
//{{AFX_MSG_MAP(CCalcDrivApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCalcDrivApp construction
CCalcDrivApp::CCalcDrivApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCalcDrivApp object
CCalcDrivApp NEAR theApp;
/////////////////////////////////////////////////////////////////////////////
// CCalcDrivApp initialization
BOOL CCalcDrivApp::InitInstance()
{
#ifdef _DEBUG
// turn on extra memory tracking
afxMemDF |= checkAlwaysMemDF;
#endif
// Initialize OLE 2.0 libraries
if (!AfxOleInit())
{
AfxMessageBox(IDP_OLE_INIT_FAILED);
return FALSE;
}
// 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.
Enable3dControls(); // Use 3d controls in dialogs
// Simple application that simply invokes a dialog
CDriverDlg dlg;
m_pMainWnd = &dlg;
dlg.DoModal();
return FALSE; // don‘t run after the dialog is done
}
/////////////////////////////////////////////////////////////////////////////
// CDriverDlg dialog
CDriverDlg::CDriverDlg(CWnd* pParent /*=NULL*/)
: CDialog(CDriverDlg::IDD pParent)
{
//{{AFX_DATA_INIT(CDriverDlg)
//}}AFX_DATA_INIT
}
CDriverDlg::~CDriverDlg()
{
TRY
{
// shut down the calculator
// (since calculator shows its user-interface it would stay active
// if we didn‘t shut it down with a call to its Quit method)
m_calc.Close();
}
END_TRY
}
void CDriverDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDriverDlg)
DDX_Control(pDX IDD_LAST_OPERATOR m_stcOperator);
DDX_Control(pDX IDD_LAST_OPERAND m_stcOperand);
DDX_Control(pDX IDC_LAST_ACCUM
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6713 2003-08-28 21:02 Samplesch11calcdrivcalcdriv.cpp
文件 6746 2003-08-28 21:02 Samplesch11calcdrivcalcdriv.dsp
文件 539 2003-08-28 21:02 Samplesch11calcdrivcalcdriv.dsw
文件 2177 2003-08-28 21:02 Samplesch11calcdrivcalcdriv.h
文件 9294 2003-08-28 21:02 Samplesch11calcdrivcalcdriv.mak
文件 3148 2003-08-28 21:03 Samplesch11calcdrivcalcdriv.rc
文件 2268 2003-08-28 21:03 Samplesch11calcdrivcalctype.cpp
文件 1012 2003-08-28 21:03 Samplesch11calcdrivcalctype.h
文件 640 2003-08-28 21:03 Samplesch11calcdrivmakefile
文件 20480 2003-08-28 21:02 Samplesch11calcdrivReleasecalcdriv.exe
文件 766 2003-08-28 21:02 Samplesch11calcdriv
escalcdriv.ico
文件 1556 2003-08-28 21:02 Samplesch11calcdriv
escalcdriv.rc2
文件 938 2003-08-28 21:03 Samplesch11calcdriv
esource.h
文件 519 2003-08-28 21:03 Samplesch11calcdrivstdafx.cpp
文件 806 2003-08-28 21:03 Samplesch11calcdrivstdafx.h
文件 34304 2003-08-28 21:03 Samplesch11CalcDrv.xls
文件 11335 2003-08-28 21:03 Samplesch11mfccalccalcdlg.cpp
文件 2979 2003-08-28 21:03 Samplesch11mfccalccalcdlg.h
文件 642 2003-08-28 21:03 Samplesch11mfccalcmakefile
文件 3021 2003-08-28 21:03 Samplesch11mfccalcmfccalc.cpp
文件 6709 2003-08-28 21:03 Samplesch11mfccalcmfccalc.dsp
文件 537 2003-08-28 21:03 Samplesch11mfccalcmfccalc.dsw
文件 1317 2003-08-28 21:03 Samplesch11mfccalcmfccalc.h
文件 9210 2003-08-28 21:03 Samplesch11mfccalcmfccalc.mak
文件 1263 2003-08-28 21:03 Samplesch11mfccalcmfccalc.odl
文件 7010 2003-08-28 21:03 Samplesch11mfccalcmfccalc.rc
文件 650 2003-08-28 21:03 Samplesch11mfccalcmfccalc.reg
文件 24576 2003-08-28 21:03 Samplesch11mfccalcReleasemfccalc.exe
文件 766 2003-08-28 21:03 Samplesch11mfccalc
esmfccalc.ico
文件 399 2003-08-28 21:03 Samplesch11mfccalc
esmfccalc.rc2
............此处省略491个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)