INTEGRATION: CWS layoutmanager (1.2.32); FILE MERGED

2003/10/29 13:41:32 abi 1.2.32.1: inplace activation
This commit is contained in:
Kurt Zenker 2004-02-25 16:09:10 +00:00
parent 45c079e0ce
commit f3e7cb64cb

View file

@ -2,9 +2,9 @@
*
* $RCSfile: esdll.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: kz $ $Date: 2003-04-10 14:55:57 $
* last change: $Author: kz $ $Date: 2004-02-25 17:09:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -76,9 +76,20 @@ END_OBJECT_MAP()
/////////////////////////////////////////////////////////////////////////////
// DLL Entry Point
#include "syswinwrapper.hxx"
#include "docholder.hxx"
HINSTANCE DocumentHolder::m_hInstance;
extern "C"
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/)
{
DocumentHolder::m_hInstance = hInstance;
if (!winwrap::HatchWindowRegister(hInstance))
return FALSE;
if (dwReason == DLL_PROCESS_ATTACH)
{
_Module.Init(ObjectMap, hInstance, NULL);