OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
initdll.cpp File Reference

Default OwlMain to satisfy LibMain in DLLs that aren't components. More...

#include <owl/pch.h>
#include <owl/defs.h>
#include <owl/module.h>
#include <owl/applicat.h>

Go to the source code of this file.

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Functions

 owl::DIAG_DECLARE_GROUP (OwlMain)
 
bool OWLInitUserDLL (HINSTANCE hInstance, LPCTSTR cmdLine)
 Routine which initializes an OWL User DLL.
 

Detailed Description

Default OwlMain to satisfy LibMain in DLLs that aren't components.

Definition in file initdll.cpp.

Function Documentation

◆ OWLInitUserDLL()

bool OWLInitUserDLL ( HINSTANCE hInstance,
LPCTSTR cmdLine )

Routine which initializes an OWL User DLL.

Initialization routine that must be called from User DLL if DLL provides it's own entry point [i.e.

Note
Must be explicitly invoked if your DLL provides it's own LibMain, DllEntryPoint (or DllMain).

Definition at line 31 of file initdll.cpp.

References _T, owl::HandleGlobalException(), owl::InitGlobalModule(), OwlMain, owl::TApplication::SetWinMainParams(), and TRACEX.