Sfoglia il codice sorgente

WxAdoInterface重建项目,使用lib项目类型。删除之前的无用文件。

Jeff 6 anni fa
parent
commit
73df88e54f

+ 0 - 16
source/hook/WxAdoInterface/Resource.h

@@ -1,16 +0,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by WxAdoInterface.rc
-//
-
-// �¶������һ��Ĭ��ֵ
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-
-#define _APS_NEXT_RESOURCE_VALUE	7000
-#define _APS_NEXT_CONTROL_VALUE		7000
-#define _APS_NEXT_SYMED_VALUE		7000
-#define _APS_NEXT_COMMAND_VALUE		32771
-#endif
-#endif

+ 0 - 85
source/hook/WxAdoInterface/WxAdoInterface.cpp

@@ -1,85 +0,0 @@
-// WxAdoInterface.cpp: 定义 DLL 的初始化例程。
-//
-
-#include "stdafx.h"
-#include "WxAdoInterface.h"
-#include "IWxAdoInterface.h"
-#include "WxAdoImpl.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#endif
-
-//
-//TODO:  如果此 DLL 相对于 MFC DLL 是动态链接的,
-//		则从此 DLL 导出的任何调入
-//		MFC 的函数必须将 AFX_MANAGE_STATE 宏添加到
-//		该函数的最前面。
-//
-//		例如: 
-//
-//		extern "C" BOOL PASCAL EXPORT ExportedFunction()
-//		{
-//			AFX_MANAGE_STATE(AfxGetStaticModuleState());
-//			// 此处为普通函数体
-//		}
-//
-//		此宏先于任何 MFC 调用
-//		出现在每个函数中十分重要。  这意味着
-//		它必须作为以下项中的第一个语句:
-//		出现,甚至先于所有对象变量声明,
-//		这是因为它们的构造函数可能生成 MFC
-//		DLL 调用。
-//
-//		有关其他详细信息,
-//		请参阅 MFC 技术说明 33 和 58。
-//
-
-// CWxAdoInterfaceApp
-
-BEGIN_MESSAGE_MAP(CWxAdoInterfaceApp, CWinApp)
-END_MESSAGE_MAP()
-
-
-// CWxAdoInterfaceApp 构造
-
-CWxAdoInterfaceApp::CWxAdoInterfaceApp()
-{
-	// TODO:  在此处添加构造代码,
-	// 将所有重要的初始化放置在 InitInstance 中
-}
-
-
-// 唯一的 CWxAdoInterfaceApp 对象
-
-CWxAdoInterfaceApp theApp;
-
-
-// CWxAdoInterfaceApp 初始化
-
-BOOL CWxAdoInterfaceApp::InitInstance()
-{
-	CWinApp::InitInstance();
-
-	::CoInitialize(NULL);//初始化COM环境  
-
-	return TRUE;
-}
-
-extern "C" IWxAdoInterface* PASCAL EXPORT CreateWxAdoPoolInstance()
-{
-	AFX_MANAGE_STATE(AfxGetStaticModuleState());
-	// 此处为普通函数体
- 	IWxAdoInterface *pInstance = CWxAdoImpl::GetInstance();
- 	if (pInstance != NULL)
- 		pInstance->AddRef();
- 
- 	return pInstance;
-}
-
-int CWxAdoInterfaceApp::ExitInstance()
-{
-	// TODO: 在此添加专用代码和/或调用基类
-	::CoUninitialize();
-	return CWinApp::ExitInstance();
-}

+ 0 - 7
source/hook/WxAdoInterface/WxAdoInterface.def

@@ -1,7 +0,0 @@
-; WxAdoInterface.def: 声明 DLL 的模块参数。
-
-LIBRARY
-
-EXPORTS
-    ; 此处可以是显式导出
-	CreateWxAdoPoolInstance

+ 0 - 28
source/hook/WxAdoInterface/WxAdoInterface.h

@@ -1,28 +0,0 @@
-// WxAdoInterface.h: WxAdoInterface DLL 的主标头文件
-//
-
-#pragma once
-
-#ifndef __AFXWIN_H__
-	#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
-#endif
-
-#include "resource.h"		// 主符号
-
-
-// CWxAdoInterfaceApp
-// 有关此类实现的信息,请参阅 WxAdoInterface.cpp
-//
-
-class CWxAdoInterfaceApp : public CWinApp
-{
-public:
-	CWxAdoInterfaceApp();
-
-// 重写
-public:
-	virtual BOOL InitInstance();
-
-	DECLARE_MESSAGE_MAP()
-	virtual int ExitInstance();
-};

+ 0 - 125
source/hook/WxAdoInterface/WxAdoInterface.rc

@@ -1,125 +0,0 @@
-// Microsoft Visual C++ 生成的资源脚本。
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// 从 TEXTINCLUDE 2 资源生成。
-//
-#ifndef APSTUDIO_INVOKED
-#include "targetver.h"
-#endif
-#include "afxres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE
-BEGIN
-    "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
-	"#ifndef APSTUDIO_INVOKED\r\n"
-    "#include ""targetver.h""\r\n"
-    "#endif\r\n"
-    "#include ""afxres.h""\r\n"
-    "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
-    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
-    "#define _AFX_NO_OLE_RESOURCES\r\n"
-    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
-    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
-    "\r\n"
-	"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
-	"LANGUAGE 4, 2\r\n"
-	"#pragma code_page(936)\r\n"
-    "#include ""res\\WxAdoInterface.rc2""  // 非 Microsoft Visual C++ 编辑的资源\r\n"
-#ifndef _AFXDLL
-    "#include ""l.CHS\\afxres.rc""  	// 标准组件\r\n"
-#endif
-    "#endif\r\n"
-    "\0"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-#endif    // APSTUDIO_INVOKED
-
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
-LANGUAGE 4, 2
-#pragma code_page(936)
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// 版本
-//
-
-VS_VERSION_INFO     VERSIONINFO
-  FILEVERSION       1,0,0,1
-  PRODUCTVERSION    1,0,0,1
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x4L
- FILETYPE 0x2L
- FILESUBTYPE 0x0L
-BEGIN
-	BLOCK "StringFileInfo"
-	BEGIN
-        BLOCK "080403a8"
-		BEGIN
-            VALUE "CompanyName", "TODO: <公司名>"
-            VALUE "FileDescription", "TODO: <文件说明>"
-			VALUE "FileVersion",     "1.0.0.1"
-			VALUE "InternalName",    "WxAdoInterface.dll"
-            VALUE "LegalCopyright", "TODO: (C) <公司名>。保留所有权利。"
-			VALUE "OriginalFilename","WxAdoInterface.dll"
-            VALUE "ProductName", "TODO: <产品名>"
-			VALUE "ProductVersion",  "1.0.0.1"
-		END
-	END
-	BLOCK "VarFileInfo"
-	BEGIN
-		VALUE "Translation", 0x0804, 936
-    END
-END
-
-#endif
-#ifndef APSTUDIO_INVOKED
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// 从 TEXTINCLUDE 3 资源生成。
-//
-#define _AFX_NO_SPLITTER_RESOURCES
-#define _AFX_NO_OLE_RESOURCES
-#define _AFX_NO_TRACKER_RESOURCES
-#define _AFX_NO_PROPERTY_RESOURCES
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
-LANGUAGE 4, 2
-#pragma code_page(936)
-#include "res\\WxAdoInterface.rc2"  // 非 Microsoft Visual C++ 编辑的资源
-#ifndef _AFXDLL
-#include "l.CHS\\afxres.rc"  	// 标准组件
-#endif
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-#endif    // 不是 APSTUDIO_INVOKED
-

+ 0 - 13
source/hook/WxAdoInterface/res/WxAdoInterface.rc2

@@ -1,13 +0,0 @@
-//
-// WxAdoInterface.RC2 - Microsoft Visual C++ 不会直接编辑的资源
-//
-
-#ifdef APSTUDIO_INVOKED
-#error 此文件不能用 Microsoft Visual C++ 编辑
-#endif //APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-// 在此处添加手动编辑的资源...
-
-/////////////////////////////////////////////////////////////////////////////