12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- #if !defined(AFX_STDAFX_H__DF42E6F3_C1C0_4611_96B8_420C3D3B8167__INCLUDED_)
- #define AFX_STDAFX_H__DF42E6F3_C1C0_4611_96B8_420C3D3B8167__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif
- #define VC_EXTRALEAN
- #include <afx.h>
- #include <afxwin.h> // MFC core and standard components
- #include <afxext.h> // MFC extensions
- #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC support for Windows Common Controls
- #endif
- #include <iostream>
- #include <string>
- #include <vector>
- using namespace std;
- #ifndef _AFX_NO_DB_SUPPORT
- #include <afxdb.h> // MFC ODBC database classes
- #endif
- #include "TblClient.h"
- extern CDatabase *g_pDBPtr;
- extern char g_szDBSource[MAX_PATH];
- extern char g_szDBServerPort[MAX_PATH];
- extern char g_szDBAccount[MAX_PATH];
- extern char g_szDBPassWord[MAX_PATH];
- extern char g_szDBName[MAX_PATH];
- extern string g_sqlVerion;
- extern string g_sqlNetshare;
- typedef struct _zcclient
- {
- CString id;
- CString name1;
- CString name2;
- CString name3;
- CString birthday1;
- CString birthday2;
- CString birthday3;
- CString phone1;
- CString phone2;
- CString qq1;
- CString qq2;
- CString addr1;
- CString addr2;
- CString area;
- CString area2;
- CString time3;
- CString check1;
- CString check2;
- CString check3;
- CString check4;
- CString sex;
- CString zodiac;
- }zcdata, *pzcdata;
- extern int GetIniInfo(const char *szPath = NULL, const char *szIniName = NULL);
- extern bool IsTableExists(string tabname);
- extern bool OpenDatabase(string server, string port, string dbuser, string dbpassword, string dbname);
- extern int getzcdata(vector<zcdata> &zc);
- extern bool zc2lyfz(zcdata &data, bool child = false);
- #endif
|