📄 hello.cpp
字号:
// hello.cpp : 定义 DLL 应用程序的入口点。
//
#include "stdafx.h"
// 对于 WebDbg.exe 的自定义断言和跟踪处理
#ifdef _DEBUG
CDebugReportHook g_ReportHook;
#endif
#include "hello.h"
[ module(name="Myhello", type="dll") ]
class CDllMainOverride
{
public:
BOOL WINAPI DllMain(DWORD dwReason, LPVOID lpReserved)
{
#if defined(_M_IX86)
if (dwReason == DLL_PROCESS_ATTACH)
{
// 堆栈溢出处理程序
_set_security_error_handler( AtlsSecErrHandlerFunc );
}
#endif
return __super::DllMain(dwReason, lpReserved);
}
};
[ emitidl(restricted) ];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -