• 大小: 3.54MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-21
  • 语言: C/C++
  • 标签: SQL  Server  2000Visual  

资源简介

本文件中包含了源代码工程,所有VC需要的源代码。以及SQL建立数据库需要的源代码。 数据库的链接需要先进行相应的设置。可以参看注释。

资源截图

代码片段和文件信息

// CRDBS.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “CRDBS.h“
#include “CRDBSDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CCRDBSApp

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

/////////////////////////////////////////////////////////////////////////////
// CCRDBSApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CCRDBSApp object

CCRDBSApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CCRDBSApp initialization

BOOL CCRDBSApp::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

CCRDBSDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
}
else if (nResponse == IDCANCEL)
{
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-11-22 22:26  code\
     目录           0  2011-11-24 22:55  code\CRDBS\
     文件       48152  2011-11-24 22:55  code\CRDBS\CRDBS.APS
     文件        5822  2011-11-24 22:24  code\CRDBS\CRDBS.clw
     文件        1881  2006-05-29 08:51  code\CRDBS\CRDBS.cpp
     文件        4878  2006-05-29 08:51  code\CRDBS\CRDBS.dsp
     文件         535  2006-05-29 08:51  code\CRDBS\CRDBS.dsw
     文件        1313  2006-05-29 08:51  code\CRDBS\CRDBS.h
     文件      377856  2011-11-24 22:55  code\CRDBS\CRDBS.ncb
     文件       58880  2011-11-24 22:55  code\CRDBS\CRDBS.opt
     文件        1186  2011-11-22 12:43  code\CRDBS\CRDBS.plg
     文件       13395  2011-11-24 22:55  code\CRDBS\CRDBS.rc
     文件       39647  2006-05-29 08:51  code\CRDBS\CRDBSDlg.cpp
     文件        3795  2006-05-29 08:51  code\CRDBS\CRDBSDlg.h
     文件        1921  2011-11-22 12:42  code\CRDBS\CRDBSLogin.cpp
     文件        1264  2006-05-29 08:51  code\CRDBS\CRDBSLogin.h
     目录           0  2011-11-22 22:26  code\CRDBS\Debug\
     文件      188480  2011-11-22 12:43  code\CRDBS\Debug\CRDBS.exe
     文件      310020  2011-11-22 12:43  code\CRDBS\Debug\CRDBS.ilk
     文件       18635  2011-11-21 15:44  code\CRDBS\Debug\CRDBS.obj
     文件     7171384  2011-11-21 15:44  code\CRDBS\Debug\CRDBS.pch
     文件      484352  2011-11-22 12:43  code\CRDBS\Debug\CRDBS.pdb
     文件       10020  2011-11-21 15:44  code\CRDBS\Debug\CRDBS.res
     文件        6223  2011-11-21 15:44  code\CRDBS\Debug\CRDBS.sbr
     文件      200737  2011-11-21 15:44  code\CRDBS\Debug\CRDBSDlg.obj
     文件       31979  2011-11-21 15:44  code\CRDBS\Debug\CRDBSDlg.sbr
     文件       20847  2011-11-22 12:43  code\CRDBS\Debug\CRDBSLogin.obj
     文件        7362  2011-11-22 12:43  code\CRDBS\Debug\CRDBSLogin.sbr
     文件       56382  2011-11-21 15:44  code\CRDBS\Debug\DetailQueryDlg.obj
     文件        9238  2011-11-21 15:44  code\CRDBS\Debug\DetailQueryDlg.sbr
     文件       30709  2011-11-21 15:44  code\CRDBS\Debug\StatQueryDlg.obj
............此处省略29个文件信息

评论

共有 条评论