⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ncbi_xloader_cdd.cpp

📁 ncbi源码
💻 CPP
字号:
/* * =========================================================================== * PRODUCTION $Log: ncbi_xloader_cdd.cpp,v $ * PRODUCTION Revision 1000.0  2003/10/28 18:51:57  gouriano * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.1 * PRODUCTION * =========================================================================== *//*  $Id: ncbi_xloader_cdd.cpp,v 1000.0 2003/10/28 18:51:57 gouriano Exp $ * =========================================================================== * *                            PUBLIC DOMAIN NOTICE *               National Center for Biotechnology Information * *  This software/database is a "United States Government Work" under the *  terms of the United States Copyright Act.  It was written as part of *  the author's official duties as a United States Government employee and *  thus cannot be copyrighted.  This software/database is freely available *  to the public for use. The National Library of Medicine and the U.S. *  Government have not placed any restriction on its use or reproduction. * *  Although all reasonable efforts have been taken to ensure the accuracy *  and reliability of the software and data, the NLM and the U.S. *  Government do not and cannot warrant the performance or results that *  may be obtained by using this software or data. The NLM and the U.S. *  Government disclaim all warranties, express or implied, including *  warranties of performance, merchantability or fitness for any particular *  purpose. * *  Please cite the author in any work or product based on this material. * * =========================================================================== * * Authors:  Mike DiCuccio * * File Description: *    implementation of DllMain for MSVC */#include "stdafx.h"#include <afxdllx.h>#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endifstatic AFX_EXTENSION_MODULE Ncbi_xloader_cddDLL = { NULL, NULL };extern "C" int APIENTRYDllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved){	// Remove this if you use lpReserved	UNREFERENCED_PARAMETER(lpReserved);	if (dwReason == DLL_PROCESS_ATTACH)	{		TRACE0("NCBI_XLOADER_CDD.DLL Initializing!\n");				// Extension DLL one-time initialization		if (!AfxInitExtensionModule(Ncbi_xloader_cddDLL, hInstance))			return 0;		// Insert this DLL into the resource chain		// NOTE: If this Extension DLL is being implicitly linked to by		//  an MFC Regular DLL (such as an ActiveX Control)		//  instead of an MFC application, then you will want to		//  remove this line from DllMain and put it in a separate		//  function exported from this Extension DLL.  The Regular DLL		//  that uses this Extension DLL should then explicitly call that		//  function to initialize this Extension DLL.  Otherwise,		//  the CDynLinkLibrary object will not be attached to the		//  Regular DLL's resource chain, and serious problems will		//  result.		new CDynLinkLibrary(Ncbi_xloader_cddDLL);	}	else if (dwReason == DLL_PROCESS_DETACH)	{		TRACE0("NCBI_XLOADER_CDD.DLL Terminating!\n");		// Terminate the library before destructors are called		AfxTermExtensionModule(Ncbi_xloader_cddDLL);	}	return 1;   // ok}/* * =========================================================================== * $Log: ncbi_xloader_cdd.cpp,v $ * Revision 1000.0  2003/10/28 18:51:57  gouriano * PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.1 * * Revision 1.1  2003/10/20 18:28:24  dicuccio * Initial revision * * =========================================================================== */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -