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
motable.cpp
Package: MoLecture.rar [view]
Upload User: qinfarui
Upload Date: 2022-08-10
Package Size: 362k
Code Size: 2k
Category:
GIS program
Development Platform:
Visual C++
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- #include "stdafx.h"
- #include "motable.h"
- // Dispatch interfaces referenced by this interface
- #include "MoRecordset.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMoTable properties
- CString CMoTable::GetUser()
- {
- CString result;
- GetProperty(0x1, VT_BSTR, (void*)&result);
- return result;
- }
- void CMoTable::SetUser(LPCTSTR propVal)
- {
- SetProperty(0x1, VT_BSTR, propVal);
- }
- CString CMoTable::GetPassword()
- {
- CString result;
- GetProperty(0x2, VT_BSTR, (void*)&result);
- return result;
- }
- void CMoTable::SetPassword(LPCTSTR propVal)
- {
- SetProperty(0x2, VT_BSTR, propVal);
- }
- CString CMoTable::GetDatabase()
- {
- CString result;
- GetProperty(0x3, VT_BSTR, (void*)&result);
- return result;
- }
- void CMoTable::SetDatabase(LPCTSTR propVal)
- {
- SetProperty(0x3, VT_BSTR, propVal);
- }
- CString CMoTable::GetName()
- {
- CString result;
- GetProperty(0x4, VT_BSTR, (void*)&result);
- return result;
- }
- void CMoTable::SetName(LPCTSTR propVal)
- {
- SetProperty(0x4, VT_BSTR, propVal);
- }
- CMoRecordset CMoTable::GetRecords()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x6, VT_DISPATCH, (void*)&pDispatch);
- return CMoRecordset(pDispatch);
- }
- void CMoTable::SetRecords(LPDISPATCH propVal)
- {
- SetProperty(0x6, VT_DISPATCH, propVal);
- }
- CString CMoTable::GetServer()
- {
- CString result;
- GetProperty(0x5, VT_BSTR, (void*)&result);
- return result;
- }
- void CMoTable::SetServer(LPCTSTR propVal)
- {
- SetProperty(0x5, VT_BSTR, propVal);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CMoTable operations
- CMoRecordset CMoTable::SearchExpression(LPCTSTR expression)
- {
- LPDISPATCH pDispatch;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x7, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
- expression);
- return CMoRecordset(pDispatch);
- }