File:  [parser3project] / sql / odbc / MFCpatches / dbimpl.h
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Sep 13 14:44:23 2004 UTC (21 years, 9 months ago) by paf
Branches: MAIN
CVS tags: release_3_1_4, paf_left, odbc_release_9_5, odbc_release_10_0, HEAD
started to fix MFC again: these were original files

// Note: must include AFXDB.H first

#if _MSC_VER > 1000
#pragma once
#endif

#undef AFX_DATA
#define AFX_DATA AFX_DB_DATA

/////////////////////////////////////////////////////////////////////////////
// _AFX_DB_STATE

#undef AFX_DATA
#define AFX_DATA

class _AFX_DB_STATE : public CNoTrackObject
{
public:
	// MFC/DB global data
	HENV m_henvAllConnections;      // per-app HENV (CDatabase)
	int m_nAllocatedConnections;    // per-app reference to HENV above
};

EXTERN_PROCESS_LOCAL(_AFX_DB_STATE, _afxDbState)

#undef AFX_DATA
#define AFX_DATA

/////////////////////////////////////////////////////////////////////////////

E-mail: