![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
windows
文章平均质量分 90
gezi322
天才出于勤奋,知识在于积累,技术在于总结
展开
-
Introducing the Universal CRT
Introducing the Universal CRT | C++ Team Blog (microsoft.com)March 3rd, 2015In June of last year we published a pair of articles discussing the major changes that we had made to the Visual C++ C Runtime (CRT) for Visual Studio 2015. In“The Great C...转载 2021-09-02 15:34:07 · 312 阅读 · 0 评论 -
How do the FILE_SHARE_* bits interact with the desired access bits?
How do the FILE_SHARE_* bits interact with the desired access bits? | The Old New Thing (microsoft.com)Raymond Chen的《The Old New Thing》It’s really not that complicated. If you permit, say,FILE_SHARE_READ, then you’re saying, “I’m okay with other p.转载 2021-06-25 10:28:29 · 68 阅读 · 0 评论 -
Openvino(widows)-demo -squeezenet
Run the Image Classification Verification Script Https SSLError --------github 拒绝访问解决方法如下:1、先检查是否已安装requests的依赖安装包:pip install cryptographypip install pyOpenSSLpip install certifi2、如果已经安装依赖安装包,还会报错,则在请求后面加上verify=False就可以 url = https:...原创 2020-09-16 09:50:42 · 141 阅读 · 0 评论 -
USB Device Registry Entries
Find device information after it enumerates on WindowsView the device interface GUID, Hardware Id, and device class information about your device Find this registry key and note theDeviceInstancevalue: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\C..转载 2020-09-04 16:34:12 · 255 阅读 · 0 评论 -
USB Device Path Format
Windows operating systems rely on a unique device path to uniquely identify each USB device/interface connected to the system. A device path string is used to communicate with a USB device and is passed to the CreateFile() Win32 API function.USB Devic.原创 2020-09-02 18:03:32 · 496 阅读 · 0 评论 -
动态库中输出STL类的实例和类中包含STL对象
How to export an instantiation of a Standard Template Library (STL) class and a class that contains a data member that is an STL objectView products that this article applies to.This article转载 2009-05-08 16:41:00 · 917 阅读 · 0 评论 -
DLL编程
DLL是建立在客户/服务器通信的概念上,包含若干函数、类或资源的库文件,函数和数据被存储在一个DLL(服务器)上并由一个或多个客户导出而使用,这些客户可以是应用程序或者是其它的DLL。DLL库不同于静态库,在静态库情况下,函数和数据被编译进一个二进制文件(通常扩展名为*.LIB),Visual C++的编译器在处理程序代码时将从静态库中恢复这些函数和数据并把他们和应用程序中的其他模块组合在一起生原创 2009-04-16 11:21:00 · 310 阅读 · 0 评论 -
如何用VC创建可在PB中调用的DLL
DLLs: An Overview A dynamic-link library (DLL) is an executable file that acts as a shared library of functions. Dynamic linking provides a way for a process to call a function that is not par原创 2009-04-16 11:00:00 · 687 阅读 · 0 评论 -
WM_NCHITTEST无标题对话框的移动
标题栏里拖动窗口的原理: windows确定鼠标点中某个窗口,然后向窗口发送一个WM_NCHITTEST消息找出此窗口的哪个“非客户区”(如边界、最大化/最小化按钮、菜单、标题等等)拥有鼠标光标。接着默认的窗口过程响应消息并返回一个特定的代码。如果鼠标指针落在标题栏中,那么这个神奇的特定代码就是HTCAPTIONA。如果WM_NCHITTEST返回HTCAPTION,那么Windows便进原创 2009-04-15 22:48:00 · 1030 阅读 · 0 评论 -
Visual C++ 调用HtmlHelp
在Visual C++ 6中调用HTML Help没有现成的函数,需要调用HtmlHelp()这个API函数。而在调用这个函数之前,还需要在你的工程中加上HtmlHelp的库和头文件: 1. 指定HtmlHelp.h的路径。选择菜单“Project -> Settings...”,打开“Project Settings”对话框。选中“C/C++”选项卡,选择“Category”列表框的内容为“转载 2009-04-14 23:14:00 · 1400 阅读 · 0 评论 -
应该使用哪个框架?用ATL和MFC来创建ActiveX控件
摘要目前MFC和ATL代表了两种框架,分别面向不同类型的基于Windows的开发。MFC代表了创建独立的Windows应用的一种简单、一致的方法;ATL提供了一种框架来实现创建COM客户机和服务器所必须的样板文件代码。这两种框架在它们对于开发ActiveX的用途上会合了。我们将看看这两种框架是如何适用于创建ActiveX控件的——突出其优缺点,亲自经历创建一个控件的过程——以便你能够决定何时使用一转载 2009-04-14 22:42:00 · 510 阅读 · 0 评论 -
JMP方法HOOK
JMP HOOK IAT detours Win9x 系统中,系统DLL被装入实际的物理存储器,然后映射到每个进程的0x80000000~0xBFFFFFFF共享内存区,如果修改这段区域的DLL代码,则对于所有进程都有效(实际Win98对主要的系统DLL作了保护,除非进入ring0才能修改)。 Win2000/NT 的进程空间不存在共享内存区,尽管DLL被装入原创 2009-04-14 17:38:00 · 1672 阅读 · 0 评论 -
VC6.0转VS2005注意事项
1)默认编译版本WINVER 502 在StdAfx.h中定义与操作系统相应的宏 如XP #define WINER 0x5012)C库字符串等相关函数安全版本的Warning C4996 3种方法去除Warning 在具体的警告相关文件中 添加 #pragma warning(disable:4996) 文件数量较大时不赞同使用此方法 其二 在头文件或预原创 2009-04-11 17:54:00 · 655 阅读 · 0 评论 -
Windows版本
Windows所有版本VERSION v[]结构 { OSPlatformId , OSMajorVersion, OSMinorVersion , OSBuildVersionLow , OSBuildVersionHigh } VERSION v[] = { {1, 4, 0, 0, 950,原创 2009-04-11 17:42:00 · 393 阅读 · 0 评论 -
密钥用法对象标识符(OID)
makecert.exe -eku的密钥用法对象标识符(OID)1.3.6.1.5.5.7.3.1 – id_kp_serverAuth1.3.6.1.5.5.7.3.2 – id_kp_clientAuth1.3.6.1.5.5.7.3.3 – id_kp_codeSigning1.3.6.1.5.5.7.3.4 – id_kp_emailProtection1.3.6.1.5.5.7.3.5 – id-kp-ipsecEndSystem1.3.6.1.5.5.7.3.6 – id-kp-ip原创 2020-06-11 10:11:40 · 1512 阅读 · 0 评论 -
Windows NT Session 的遍历和获取信息(原创)
本文中我将就遍历并获取当前系统Session 信息的方法进行详细分析,并借此机会让大家能够从 Session 的角度对 WinNT 底层帐号和权限管理机制有更深入的了解。文章可能在内容上有所遗漏,希望大家补充和指正。 虽然 Session 的概念非常重要,但因为其过于底层,除了处理用户登陆和安全相关事务的程序员,它对高层开发基本上是透明的。故而这方面的介绍文章和工具实在不多。...转载 2020-04-13 09:30:11 · 337 阅读 · 0 评论 -
Designing A Kernel Key Logger
Designing A Kernel Key LoggerA Filter Driver TutorialBy Clandestiny【Introduction】The following tutorial outlines the design of a simple key logger implementation using a kernel filter driver. A...原创 2020-04-02 16:44:34 · 263 阅读 · 0 评论 -
A Kernel Key Logger
转http://blog.sina.com.cn/s/blog_5371d2790100e4rc.html键盘过滤驱动核心思想总结可以参考另外一篇文章《Designing A Kernel Key Logger》,这两篇文章都是关于键盘记录的,相互补充,相得益彰.....该键盘过滤驱动程序是《ROOTKIT---window内核的安全防护》一书中的例子。原型就是KLOG ro...转载 2020-04-02 16:38:34 · 124 阅读 · 0 评论 -
WCID Devices
What is WCID?AWCID device, where WCID stands for "WindowsCompatibleID", is an USB device that provides extra information to a Windows system, in order to facilitate automated driver installation ...转载 2019-06-11 16:16:39 · 2107 阅读 · 0 评论 -
visual studio使用技巧
1.检测程序中的括号是否匹配 把光标移动到需要检测的括号(如大括号{}、方括号[]、圆括号()和尖括号2.查看一个宏(或变量、函数)的宏定义 把光标移动到你想知道的一个宏上,就比如说最常见的DECLARE_MAP_MESSAGE上按一下F12(或右键菜单中的Go To Defition Of …),如果没有建立Browse files,会转载 2009-04-16 16:31:00 · 512 阅读 · 0 评论 -
Drivers for Serial-Attached Devices
Drivers for Serial-Attached DevicesMarch 15, 2003Walter OneyCopyright © 2003 by Walter Oney. All rights reservedIll explain in this article how to write a driver for a device that attaches to a s转载 2009-04-16 15:50:00 · 846 阅读 · 0 评论