
/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/ERROR/ERRINIT.CPP   1.0.1.1.1.5   17 Apr 1997 16:29:34   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/ERROR/ERRINIT.CPP  $
** 
**    Rev 1.0.1.1.1.5   17 Apr 1997 16:29:34   ZJRD
** No change.
** 
**    Rev 1.0.1.1.1.4   16 Apr 1997 11:08:18   ZJRD
** No change.
** 
**    Rev 1.0.1.1.1.3   10 Apr 1997 15:55:00   ZJRD
** 2.09F
** 
**    Rev 1.0.1.1.1.1   03 Apr 1997 15:32:12   ZJRD
** No change.
** 
**    Rev 1.0.1.1.1.0   28 Mar 1997 10:36:20   ZJRD
** easy pack sld 2.09d
** 
**    Rev 1.0.1.0   19 Mar 1997 11:46:12   ZJRD
** No change.
** 
**    Rev 1.0   12 Mar 1997 15:00:18   ZJRD
** Initial revision.
** 
**    Rev 1.7.1.0.1.2   09 Dec 1996 10:24:08   ZJRD
** EasyPack/SLD Version 2.0P
** 
**    Rev 1.1   02 May 1996 10:34:10   ZJRD
** EasyPack/SLD Versio 1.92
** 
****************************************************************************/

/****************************************************************************
**
**  Name:  ERRORINIT.CPP
**
**  Description:
**      Entry points for ERRTEXT.DLL.
**
**  Status:  CODED
**
**    Rev 1.1   15 MAR  8:30:00am   Jamoon Zhou
** Initial revision.
**
**  Copyright (C) 1996 Microtek International.  All rights reserved.
**
*****************************************************************************/

                       /****************************
                        *                          *
                        *       INCLUDE FILES      *
                        *                          *
                        ****************************/

#include <afxwin.h>


                       /****************************
                        *                          *
                        *     LOCAL DEFINITIONS    *
                        *                          *
                        ****************************/

                       /****************************
                        *                          *
                        *    EXTERNAL VARIABLES    *
                        *                          *
                        ****************************/


                       /****************************
                        *                          *
                        *     LOCAL PROTOTYPES     *
                        *                          *
                        ****************************/
 HINSTANCE hTextInst;

                       /****************************
                        *                          *
                        *      EXECUTABLE CODE     *
                        *                          *
                        ****************************/

//#include "afxdllx.h"    // standard MFC Extension DLL routines

//static AFX_EXTENSION_MODULE NEAR extensionDLL = { NULL, NULL };

/////////////////////////////////////////////////////////////////////////////
// Library init
//#ifdef _AFXDLL

int FAR PASCAL LibMain(HINSTANCE hInstance, WORD wDataSeg,
                          WORD cbHeapSize, LPSTR lpCmdLine)
{
	//AfxInitExtensionModule(extensionDLL, hInstance);
	hTextInst = hInstance;
	return 1;
}


extern "C" int FAR PASCAL  _WEP(int)
{
	return 1;
}

/*
#else

class CErrorDLL : public CWinApp
{
public:
	virtual BOOL InitInstance(); // Initialization
	virtual int ExitInstance();  // Termination (WEP-like code)

	// nothing special for the constructor
	CErrorDLL(const char* pszAppName=NULL)
		: CWinApp(pszAppName)
		{ }
};

BOOL CErrorDLL::InitInstance()
{
	// any DLL initialization goes here
	TRACE("ICE_ERRP.DLL initializing\n");
	SetDialogBkColor();     // grey dialogs in the DLL as well
	hTextInst = AfxGetInstanceHandle();
	return TRUE;
}

int CErrorDLL::ExitInstance()
{
	// any DLL termination goes here (WEP-like code)
	return CWinApp::ExitInstance();
}

CErrorDLL  NEAR errorDLL("ICE_ERRP.DLL");
    
#endif    
*/
    