资源简介
二维动态图表类的DLL封装的方法,[2DGraph.lib][ 2DGraph.dll][ GraphObject.h]生成的方法
代码片段和文件信息
// 2DGraph.cpp : Defines the initialization routines for the DLL.
//
#include “stdafx.h“
#include
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
static AFX_EXTENSION_MODULE My2DGraphDLL = { NULL NULL };
extern “C“ int APIENTRY
DllMain(HINSTANCE hInstance DWORD dwReason LPVOID lpReserved)
{
// Remove this if you use lpReserved
UNREFERENCED_PARAMETER(lpReserved);
if (dwReason == DLL_PROCESS_ATTACH)
{
TRACE0(“2DGRAPH.DLL Initializing!\n“);
// Extension DLL one-time initialization
if (!AfxInitExtensionModule(My2DGraphDLL 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(My2DGraphDLL);
AfxMessageBox(“2DGraph.Dll由郑海波封装 zhb931706659@126.com“);
}
else if (dwReason == DLL_PROCESS_DETACH)
{
TRACE0(“2DGRAPH.DLL Terminating!\n“);
// Terminate the library before destructors are called
AfxTermExtensionModule(My2DGraphDLL);
}
return 1; // ok
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-04-06 10:50 2DGraph封装\
目录 0 2012-04-06 10:51 2DGraph封装\Dll封装\
目录 0 2012-04-06 19:03 2DGraph封装\Dll封装\2DGraph的Dll工程\
文件 156 2012-04-06 10:29 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.clw
文件 1614 2012-04-06 19:13 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.cpp
文件 187 2012-04-06 10:29 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.def
文件 204876 2012-04-06 19:14 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.dll
文件 4235 2012-04-06 19:14 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.dsp
文件 522 2012-04-06 10:29 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.dsw
文件 19784 2012-04-06 19:10 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.lib
文件 148480 2012-04-06 19:21 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.ncb
文件 48640 2012-04-06 19:21 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.opt
文件 248 2012-04-06 19:14 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.plg
文件 3071 2012-04-06 10:29 2DGraph封装\Dll封装\2DGraph的Dll工程\2DGraph.rc
文件 155382 2012-04-06 19:14 2DGraph封装\Dll封装\2DGraph的Dll工程\Graphob
文件 10289 2012-04-06 19:05 2DGraph封装\Dll封装\2DGraph的Dll工程\Graphob
文件 2493 2012-04-06 10:29 2DGraph封装\Dll封装\2DGraph的Dll工程\ReadMe.txt
目录 0 2012-04-06 19:03 2DGraph封装\Dll封装\2DGraph的Dll工程\res\
文件 379 2012-04-06 10:29 2DGraph封装\Dll封装\2DGraph的Dll工程\Resource.h
文件 399 2012-04-06 10:29 2DGraph封装\Dll封装\2DGraph的Dll工程\res\2DGraph.rc2
文件 209 2012-04-06 10:29 2DGraph封装\Dll封装\2DGraph的Dll工程\StdAfx.cpp
文件 1447 2012-04-06 10:29 2DGraph封装\Dll封装\2DGraph的Dll工程\StdAfx.h
目录 0 2012-04-06 10:32 2DGraph封装\Dll封装\Dll文件\
文件 204876 2012-04-06 19:14 2DGraph封装\Dll封装\Dll文件\2DGraph.dll
文件 19784 2012-04-06 19:10 2DGraph封装\Dll封装\Dll文件\2DGraph.lib
文件 10289 2012-04-06 19:05 2DGraph封装\Dll封装\Dll文件\Graphob
目录 0 2012-04-06 19:15 2DGraph封装\Dll封装\Dll测试工程\
文件 204876 2012-04-06 19:14 2DGraph封装\Dll封装\Dll测试工程\2DGraph.dll
文件 19784 2012-04-06 19:10 2DGraph封装\Dll封装\Dll测试工程\2DGraph.lib
文件 20644 2012-04-06 19:21 2DGraph封装\Dll封装\Dll测试工程\DllTest.aps
文件 953 2012-04-06 19:23 2DGraph封装\Dll封装\Dll测试工程\DllTest.clw
............此处省略28个文件信息
评论
共有 条评论