|
// dllmain.cpp : Implementation of DllMain.
#include "stdafx.h"
#include "resource.h"
#include "SimpleCOM_i.h"
#include "dllmain.h"
#include "dlldatax.h"
CSimpleCOMModule _AtlModule;
class CSimpleCOMApp : public CWinApp
{
public:
// Overrides
virtual BOOL InitInstance();
virtual int ExitInstance();
DECLARE_MESSAGE_MAP()
};
BEGIN_MESSAGE_MAP(CSimpleCOMApp, CWinApp)
END_MESSAGE_MAP()
CSimpleCOMApp theApp;
BOOL CSimpleCOMApp::InitInstance()
{
#ifdef _MERGE_PROXYSTUB
if (!PrxDllMain(m_hInstance, DLL_PROCESS_ATTACH, NULL))
return FALSE;
#endif
return CWinApp::InitInstance();
}
int CSimpleCOMApp::ExitInstance()
{
return CWinApp::ExitInstance();
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.