BCGControlBar Pro for MFC
virtual HINSTANCE CBCGPWinApp::LoadSystemLibrary ( LPCTSTR  lpszDLLName)
inlinevirtual

Called by the framework when a standard (system) DLL is being loaded.

Override this method to load the system DLL (such as user32.dll or shell32.dll) from specific location or with specific attributes. By default, the libraries are loaded using LoadLibrary method.

Parameters
lpszDLLNameThe system DLL name
Returns
The instance of the loaded DLL or NULL for the default processing.