12345678910111213141516171819202122232425 |
- // stdafx.cpp : 只包括标准包含文件的源文件
- // WxService.pch 将作为预编译头
- // stdafx.obj 将包含预编译类型信息
- #include "stdafx.h"
- // TODO: 在 STDAFX.H 中
- // 引用任何所需的附加头文件,而不是在此文件中引用
- HMODULE g_hpool = NULL;
- IWxAdoInterface* g_pAdoPool = NULL;
- BOOL CreatePoolInstance()
- {
- g_pAdoPool = CWxAdoImpl::GetInstance();
- return (g_pAdoPool == NULL) ? FALSE : TRUE;
- }
- void FreelyfzodbcLibrary()
- {
- if (g_pAdoPool)
- {
- g_pAdoPool->ReleasePool();
- g_pAdoPool->Release();
- }
- }
|