
/***************************************************************************
**
**    $Header:   D:/EPSLDV1/SRC/LOG/ERROR/ERRINIT.CPP   1.8   20 Jun 1996 09:33:52   ZJRD  $
**
**    $Log:   D:/EPSLDV1/SRC/LOG/ERROR/ERRINIT.CPP  $
** 
**    Rev 1.8   20 Jun 1996 09:33:52   ZJRD
** EasyPack/SLD Version 1.20a
** 
**    Rev 1.6   10 Jun 1996 10:28:18   ZJRD
** EasyPack/SLD Version 1.20
** 
**    Rev 1.4   29 May 1996 09:42:06   ZJRD
** No change.
** 
**    Rev 1.3   16 May 1996 09:11:42   ZJRD
** No change.
** 
**    Rev 1.2   10 May 1996 09:19:52   ZJRD
** No change.
** 
**    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    
*/
    