大约有 14,000 项符合查询结果(耗时:0.0158秒) [XML]

https://www.tsingfun.com/it/cpp/664.html 

NtMapViewOfSection注入 - C/C++ - 清泛网 - 专注C/C++及内核技术

...员权限或者之类的要求 #define _WIN32_WINNT 0x0400 #include <windows.h> typedef LONG NTSTATUS, *PNTSTATUS; #define NT_SUCCESS(Status) ((NTSTATUS)(Status) >= 0) typedef enum _SECTION_INHERIT { ViewShare = 1, ViewUnmap = 2 } SECTION_INHERIT; typedef NTSTATUS (__stdcall *func...
https://www.tsingfun.com/it/cpp/968.html 

ATL COM开发入门(二)(ActiveX/COM组件回调JS) - C/C++ - 清泛网 - 专注C/C++及内核技术

...spatch = pIDispatch; UINT nRet = SetTimer(NULL, // handle to main window ID_TIMER, // 定时器标识 1000, // 1 秒间隔 (TIMERPROC)TimerProc); // 回调函数 return S_OK; } TimerProc回调函数: IDispatch* gIDispatch = NULL; #defi...
https://www.tsingfun.com/it/cpp/1359.html 

C++中判断文件、目录是否存在的几种方法 - C/C++ - 清泛网 - 专注C/C++及内核技术

...dClose(hFind); 二、_stat() 现在介绍一个轻量级的方法 在windows中可以使用_stat() 函数。 声明:int _stat(const char* path, struct _stat* buffer); 这个函数使用起来非常方便,如下: struct _stat fileStat; if ((_stat(dir.c_str(), &fileStat) == 0) && (fi...
https://www.tsingfun.com/it/cpp/1586.html 

C++代码执行安装包静默安装 - C/C++ - 清泛网 - 专注C/C++及内核技术

...t( &si, 0, sizeof( si ) ); si.cb = sizeof( si ); si.wShowWindow = SW_SHOW; si.dwFlags = STARTF_USESHOWWINDOW; //nsis安装包 szCmdline = _T("/NCRC /S /D=\""); szCmdline.Append( DEFAULT_INSTALL_PATH ); szCmdline.Append( _T("\"") ); CreatePr...
https://www.tsingfun.com/it/cpp/1614.html 

在ATL无窗口ActiveX 控件中如何使用定时器? - C/C++ - 清泛网 - 专注C/C++及内核技术

... 调用方法: UINT nRet = SetTimer(NULL, // handle to main window ID_TIMER, // 定时器标识 1000, // 1 秒间隔 (TIMERPROC)TimerProc); // 回调函数ATL ActiveX 定时器
https://www.tsingfun.com/it/tech/2240.html 

防挂马:apache禁止访问文件或目录执行权限、禁止运行脚本PHP文件的设置方...

...rectory> 这些配置表面上看起来是没什么问题的,确实在windows下可以这么说。 但是Linux就不同了,大家都是知道的linux操作系统是区分大小写的,这里如果换成大写后缀名*.phP一类就pass了 这里我说下我个人的解决方法,代码如...
https://bbs.tsingfun.com/thread-778-1-1.html 

vc/mfc *通配符 批量删除文件 - c++1y / stl - 清泛IT社区,为创新赋能!

...使用SHFileOperation函数: #include &quot;stdafx.h&quot; #include &lt;windows.h&gt; int _tmain(int argc, _TCHAR* argv[]) { &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;LPTSTR delFileName = L&quot;c:/test/test*.txt&quot;; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;SHFILEOPSTRUCT FileOp; &nbsp; &nbsp;&nbsp...
https://bbs.tsingfun.com/thread-966-1-1.html 

程序崩溃时malloc/new可能导致死锁,程序卡死退不出 - C/C++ - 清泛IT论坛...

...的问题。 2、Linux下可以通过添加一个宏 _REENTRANT 解决,Windows未知。
https://bbs.tsingfun.com/thread-11-1-1.html 

CreateWindow()动态创建一个EditBox - C/C++ - 清泛IT论坛,有思想、有深度

...建EditBox &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;HWND m_wndEdit = CreateWindow(_T(&quot;EDIT&quot;), 0, WS_CHILD | WS_VISIBLE | ES_WANTRETURN, &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; 70, 4, 60, 16, m_hWnd, 0, 0, 0); &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;// 显示 &nbsp...
https://stackoverflow.com/ques... 

How to install Boost on Ubuntu

... An update for Windows 10 Ubuntu Application via Subsystem (also works on standard Ubuntu): You might have problems finding the package. If you do, never fear! PPA is here! sudo add-apt-repository ppa:boost-latest/ppa sudo apt-get update...