WIN32程序挂钩SetLastError,输出错误描述到控制台作者:徐灵甫 一、窗口模式应用程序(GUI)启用控制台的方法为: 二、挂钩API函数的简单方法为:1. DEBUG模式下,函数名值为指令“JMP函数体”的地址。指令格式为“E9 □□□□”,附带的参数为四字节表示的转移偏移量。因此“函数 Read More
posted @ 2016-08-26 18:57
findumars
Views(301)
Comments(0)
Diggs(0)
[c-sharp] view plain copy using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.U Read More
posted @ 2016-08-26 18:55
findumars
Views(1575)
Comments(0)
Diggs(0)
在Microsoft 的UACBlog里对此有过叙述。总结如下: 首先,如果一个程序被识别为管理员程序时,Vista会在它的图标上加上一个盾牌标记。因此很容易看出来。 其次,如果UAC有效的话,管理员程序启动时会弹出执行许可或者管理员密码输入对话框。 据此你可以知道你的标注是不是成功。 方法一:文件 Read More
posted @ 2016-08-26 18:54
findumars
Views(523)
Comments(0)
Diggs(0)
命令原型:D:/>tree /? 以图形显示驱动器或路径的文件夹结构。TREE [drive:][path] [/F] [/A]/F 显示每个文件夹中文件的名称。/A 使用 ASCII 字符,而不使用扩展字符。应用举例:1.如果想生成某磁盘整个文件夹列表,输入以下命令:e:tree >e.txt即可 Read More
posted @ 2016-08-26 18:52
findumars
Views(3666)
Comments(0)
Diggs(0)
简介: 函数名: sleep 功 能: 执行挂起一段时间 用 法: unsigned sleep(unsigned seconds); 在VC中使用带上头文件 #include <windows.h> 在gcc编译器中,使用的头文件因gcc版本的不同而不同 linux系统需要添加的头文件 #incl Read More
posted @ 2016-08-26 18:50
findumars
Views(37006)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号