stdafx.cpp 416 B

123456789101112131415161718
  1. // stdafx.cpp : 只包括标准包含文件的源文件
  2. // lyfztestodbc1.pch 将作为预编译头
  3. // stdafx.obj 将包含预编译类型信息
  4. #include "stdafx.h"
  5. // TODO: 在 STDAFX.H 中
  6. // 引用任何所需的附加头文件,而不是在此文件中引用
  7. IODBCPoolInterface* g_pODBCPool = NULL;
  8. IODBCPoolInterface* lyfzCreatePoolInstance()
  9. {
  10. g_pODBCPool = CODBCPool::GetInstance();
  11. if ( g_pODBCPool != NULL )
  12. g_pODBCPool->AddRef();
  13. return g_pODBCPool;
  14. }