上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 36 下一页
摘要: 1.lm命令 lm m s* lm lmsm 2.看堆栈调用 kb 3.断点(有符号) bp HelloDDK!DriverEntry 4.断点(无符号) sxe ld HelloDDK 这样会断在nt!DebugService2+0x10的位置。 然后按三次Shift+F11,会跳到nt!IopLoadDriver+0x370 在IopLoadDriver中函数中寻找,会经过nt!... 阅读全文
posted @ 2009-12-13 00:58 Fan Zhang 阅读(511) 评论(0) 推荐(0)
摘要: #define KeQueryTickCount(CurrentCount ) { \ volatile PKSYSTEM_TIME _TickCount = *((PKSYSTEM_TIME *)(&KeTickCount)); \ while (TRUE) { \ (CurrentCount)->HighPart = _TickCount->High1Time; \ (Cu... 阅读全文
posted @ 2009-12-12 22:10 Fan Zhang 阅读(627) 评论(0) 推荐(0)
摘要: //Explicit creation of contained Components:var panel = new Ext.Panel({ ... items: [ new Ext.Button({ text: 'OK' }) ]};   //Implicit creation using xtype:var panel = new Ext.Panel({ ... item... 阅读全文
posted @ 2009-12-01 23:32 Fan Zhang 阅读(147) 评论(0) 推荐(0)
摘要: 打开c:\windows\system32\drivers\etc\下的hosts文件 64.147.188.86 www.xmarks.com 64.147.188.92 api.xmarks.com 64.147.188.89 login.xmarks.com 64.147.188.87 sync.xmarks.com 64.147.188.86 static.xmarks.com 64.14... 阅读全文
posted @ 2009-12-01 11:33 Fan Zhang 阅读(429) 评论(0) 推荐(0)
摘要: 1.第一个函数 Ext.onReady(function() { alert("Congratulations! You have Ext configured correctly!");}); 2.对DOM操作var myDiv = document.getElementById('myDiv');//返回的是DOM node var myDiv = ... 阅读全文
posted @ 2009-11-30 14:33 Fan Zhang 阅读(186) 评论(0) 推荐(0)
摘要: 想知道某类中的所有成员变量和函数 for temp in dir(request):     print temp 阅读全文
posted @ 2009-11-10 14:28 Fan Zhang 阅读(81) 评论(0) 推荐(0)
摘要: 创建一个虚拟鼠标,在AddDevice中 status = IoCreateDevice (DriverObject, sizeof(DEVICE_EXTENSION), NULL, FILE_DEVICE_MOUSE, 0, true, // Not exclusive &fdo);这样创建的设备,即便创建符号链接,也不可能在应用程序中打开。这需要在DriverEntry中创... 阅读全文
posted @ 2009-11-01 23:32 Fan Zhang 阅读(469) 评论(0) 推荐(0)
摘要: string mystr="100"; float price=200; stringstream(mystr) >> price; 阅读全文
posted @ 2009-10-23 15:18 Fan Zhang 阅读(177) 评论(0) 推荐(0)
摘要: ifstream in("STLExtension.h",ios::ate); if (in.is_open()) { cout << "file length is " << in.tellg() << endl; } 阅读全文
posted @ 2009-10-23 14:52 Fan Zhang 阅读(212) 评论(0) 推荐(0)
摘要: #include "StdAfx.h"#include <stdio.h>#include <Windows.h>#include <Tlhelp32.h>BOOL KillProcess(LPCTSTR lpszProcessName){ PROCESSENTRY32 pe32 = {sizeof(pe32)} ; HANDLE hProc... 阅读全文
posted @ 2009-10-21 00:22 Fan Zhang 阅读(165) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 36 下一页