//  Copyright (c) 2001, Reson, Inc. All Rights Reserved.
//
//  Filename:   Remote6046.cpp
//
//  Project:    6046
//
//  Author(s):  W. Arcus
//
//  Purpose:    Main DLL implementation file defining the MFC class CRemote6046
//
//  Notes:      1)  If this DLL is dynamically linked against the MFC
//                  DLLs, any functions exported from this DLL which
//                  call into MFC must have the AFX_MANAGE_STATE macro
//                  added at the very beginning of the function.
//                  The macro ManageDllState_m() is defined for this purpose (see below).
//
//                  See MFC Technical Notes 33 and 58 for additional info.
//

#include "stdafx.h"
#include "Remote6046.h"

#ifdef _DEBUG
#pragma comment( lib, "..\\..\\Utils\\NetUtils\\Debug\\NetUtils.lib" )
#else
#pragma comment( lib, "..\\..\\Utils\\NetUtils\\Release\\NetUtils.lib" )
#endif

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CRemote6046App

BEGIN_MESSAGE_MAP(CRemote6046App, CWinApp)
    //{{AFX_MSG_MAP(CRemote6046App)
        // 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()

/////////////////////////////////////////////////////////////////////////////
// CRemote6046App construction

CRemote6046App::CRemote6046App( void )
{
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CRemote6046App object

CRemote6046App theApp;

/////////////////////////////////////////////////////////////////////////////
// CRemote6046App initialization

BOOL CRemote6046App::InitInstance( void )
{
    if ( ! AfxSocketInit() )
    {
        AfxMessageBox( IDP_SOCKETS_INIT_FAILED );
        return FALSE;
    }

    return TRUE;
}
