![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cOSModDyn.h>
Public Member Functions | |
cOSModDyn (const char *pszModuleName) noexcept | |
virtual HRESULT | RegisterModule (DWORD dwGrayLibVer, cOSModDyn **ppMod, IUnknown *pContainer) |
virtual void | UnRegisterModule () |
![]() | |
cOSModImpl (const char *pszModuleName) noexcept | |
virtual | ~cOSModImpl () |
bool | IsLoaded () const noexcept |
virtual bool | OnProcessAttach () |
virtual void | OnProcessDetach () |
Additional Inherited Members | |
![]() | |
const char * | m_pszModuleName |
Just derive this from the file name ? More... | |
HMODULE | m_hModule |
My HMODULE assigned to me when loaded. should be same as GetModuleHandleForAddr(&g_Module) More... | |
Dynamically load a DLL/SO into my process to support some functionality.
|
inlinenoexcept |
|
inlinevirtual |
Register a dynamic loaded DLL. dwGrayLibVer = a high level version id _INC_GrayLibBase_H. NOT just _INC_GrayCore_H Expose this if i'm a DLL. The DLL has loaded and is aware of *Core etc. Make sure EXE and DLL/SO/Module agree on structures and packing.
|
inlinevirtual |