Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ddf.cpp
Package: vc开发gis代码.rar [view]
Upload User: jndfzt02
Upload Date: 2007-04-25
Package Size: 391k
Code Size: 1k
Category:
GIS program
Development Platform:
Visual C++
- // ddf.cpp : implementation file
- //
- #include "stdafx.h"
- #include "draw.h"
- #include "ddf.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // ddf
- IMPLEMENT_DYNAMIC(ddf, CRecordset)
- ddf::ddf(CDatabase* pdb)
- : CRecordset(pdb)
- {
- //{{AFX_FIELD_INIT(ddf)
- //}}AFX_FIELD_INIT
- m_nDefaultType = snapshot;
- }
- CString ddf::GetDefaultConnect()
- {
- return _T("ODBC;DSN=cjc");
- }
- CString ddf::GetDefaultSQL()
- {
- return _T("");
- }
- void ddf::DoFieldExchange(CFieldExchange* pFX)
- {
- //{{AFX_FIELD_MAP(ddf)
- pFX->SetFieldType(CFieldExchange::outputColumn);
- //}}AFX_FIELD_MAP
- }
- /////////////////////////////////////////////////////////////////////////////
- // ddf diagnostics
- #ifdef _DEBUG
- void ddf::AssertValid() const
- {
- CRecordset::AssertValid();
- }
- void ddf::Dump(CDumpContext& dc) const
- {
- CRecordset::Dump(dc);
- }
- #endif //_DEBUG