fastdo  0.5.12
winux::DllLoader类 参考

DLL动态载入器 更多...

#include <system.hpp>

winux::DllLoader 的协作图:

class  Function
 Dll函数动态调用 更多...
 

Public 类型

typedef void * ModuleHandle
 

Public 成员函数

 DllLoader ()
 
 DllLoader (String const &dllName)
 
 ~DllLoader ()
 
 operator bool () const
 
 operator ModuleHandle () const
 
char const * errStr () const
 错误信息 更多...
 
template<typename _PfnType >
Function< _PfnType > func (AnsiString const &funcName)
 获取指定名字的Function对象,失败抛异常 更多...
 

静态 Public 成员函数

static String GetModulePath (void *funcInModule)
 取得模块路径(含模块文件名) 更多...
 

Public 属性

void(*)() funcAddr (AnsiString const &funcName)
 获取指定名字的函数地址 更多...
 
winux::String dllModuleFile
 Dll模块文件 更多...
 

详细描述

DLL动态载入器

在文件 system.hpp219 行定义.

成员类型定义说明

在文件 system.hpp226 行定义.

构造及析构函数说明

winux::DllLoader::DllLoader ( )
winux::DllLoader::DllLoader ( String const &  dllName)
winux::DllLoader::~DllLoader ( )

成员函数说明

char const* winux::DllLoader::errStr ( ) const

错误信息

template<typename _PfnType >
Function<_PfnType> winux::DllLoader::func ( AnsiString const &  funcName)
inline

获取指定名字的Function对象,失败抛异常

在文件 system.hpp275 行定义.

static String winux::DllLoader::GetModulePath ( void *  funcInModule)
static

取得模块路径(含模块文件名)

参数
funcInModule模块中某个函数的地址
winux::DllLoader::operator bool ( ) const
inline

在文件 system.hpp238 行定义.

winux::DllLoader::operator ModuleHandle ( ) const
inline

在文件 system.hpp239 行定义.

类成员变量说明

winux::String winux::DllLoader::dllModuleFile

Dll模块文件

在文件 system.hpp281 行定义.

void(* )() winux::DllLoader::funcAddr(AnsiString const &funcName)

获取指定名字的函数地址

在文件 system.hpp271 行定义.


该类的文档由以下文件生成: