OWLNext 7.0
Borland's Object Windows Library for the modern age
|
TModuleProc is a base class that does inital binding of a function name or ordinal to the corresponding function in the given module (DLL). More...
#include <owl/module.h>
Protected Member Functions | |
TModuleProc (const TModule &module, TNarrowResId id) | |
Constructs a Module entry object given a narrow Windows resource identifier. | |
Protected Attributes | |
FARPROC | Proc |
Derived template classes perform type-safe parameter passing on call. | |
TModuleProc is a base class that does inital binding of a function name or ordinal to the corresponding function in the given module (DLL).
It is required and assumed that the bound function is using the WINAPI calling convention. Derived class templates perform type-safe parameter passing on call using a different template for each number of parameters, 'V' version for void return, i.e. TModuleProcV0, TModuleProc0, TModuleProcV1, TModuleProc1, etc. The constructor throws an exception if it cannot bind.
|
protected |
Constructs a Module entry object given a narrow Windows resource identifier.
The resource identifier encodes either a function name or a function ordinal for one of the exported functions in the module.
Definition at line 1021 of file module.cpp.
References owl::TXOwl::MakeMessage(), Proc, and owl::TXOwl::Raise().
|
protected |