【VC开源代码栏目提醒】:网学会员VC开源代码为您提供ATLWebService.cpp参考,解决您在ATLWebService.cpp学习中工作中的难题,参考学习。
// ATLWebService.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
// For custom assert and trace handling with WebDbg.exe
#ifdef _DEBUG
CDebugReportHook g_ReportHook;
#endif
#include "ATLWebService.h"
[ module(name="MyATLWebService", type="dll") ]
class CDllMainOverride
{
public:
BOOL WINAPI DllMain(DWORD dwReason, LPVOID lpReserved)
{
#if defined(_M_IX86)
if (dwReason == DLL_PROCESS_ATTACH)
{
// stack overflow handler
_set_security_error_handler( AtlsSecErrHandlerFunc );
}
#endif
return __super::DllMain(dwReason, lpReserved);
}
};
[ emitidl(restricted) ];
上一篇:
ATLWebClientDlg.cpp
下一篇:
试析P2P网络应用层多播树的建立及维护