/*
*********************************************************************
*
*	The Essence of OLE
*
*	Source code sample
*
*	Copyright (c) 1996, Rolling Thunder Computing, Ipswich MA
*
*	e-mail: essence@rollthunder.com
*	CompuServe: 73540,3430
*	Web: http://www.rollthunder.com
*
*	File Name: MFCIPELIZA.CPP
*
*	Purpose: MFC IEliza interface CWinApp class
*
*********************************************************************
*/

// mfcipeliza.cpp : Defines the initialization routines for the DLL.
//

#include "stdafx.h"
#include "mfcipeliza.h"
#include "mfceliza.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMfcipelizaApp

BEGIN_MESSAGE_MAP(CMfcipelizaApp, CWinApp)
	//{{AFX_MSG_MAP(CMfcipelizaApp)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMfcipelizaApp construction

CMfcipelizaApp::CMfcipelizaApp()
{

}

/*
Instantiate the COleObject factory
*/

AFX_DATADEF COleObjectFactory CMfcEliza::ms_ElizaFactory  (GUID_MfcEliza, 
		RUNTIME_CLASS(CMfcEliza), 
		FALSE, TEXT("EssenceOfOle.Eliza.MfcCustomInProc")) ;


/////////////////////////////////////////////////////////////////////////////
// The one and only CMfcipelizaApp object

CMfcipelizaApp theApp;

BOOL CMfcipelizaApp::InitInstance() 
{
	AfxOleInit ( ) ;

	return	COleObjectFactory::RegisterAll( ) ;

}
