摘要: DataSet ds = new DataSet(); ds.ReadXml(new System.IO.MemoryStream(System.Text.Encoding.UTF8.GetBytes(newxml[0].ToString()))); //Thread.Sleep(1); dataGridView1.DataSource = ds.Tables[0];笔记具体原因未知。如果这样使用会造成ds未初... 阅读全文
posted @ 2012-03-15 11:40 Red Cat 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 这里使用一个外挂程序测试,因为外挂程序没有做功能限制的处理 只是做了 窗口影藏。全局变量HWND hwnd[100]={0};int number=0;DWORD Tpid=0;局部变量char username[1028];先找到进程ID 1 HWND SelectPor() 2 { 3 bool isYes=false; 4 string porcessName="可可会员正式版3.04.exe";//可可火影世界辅助会员版 5 PROCESSENTRY32 lppe; 6 lppe.dwSize=sizeof(lppe); 7 HANDLE hsn... 阅读全文
posted @ 2011-12-12 16:33 Red Cat 阅读(638) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2011-12-06 22:01 Red Cat 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 接受代码.386.model flat,stdcalloption casemap:noneinclude user32.incincludelib user32.libincludelib kernel32.libinclude kernel32.incinclude windows.inc.data_className db "MyClass",0_szBuffer db 256 dup(?)_swTitle db "测试标题",0_szReceive db "hello Window",0dh,0ah db "para 阅读全文
posted @ 2011-12-02 12:05 Red Cat 阅读(1621) 评论(0) 推荐(1) 编辑
摘要: Hello Window 1 .386 2 .model flat,stdcall 3 option casemap:none 4 5 include user32.inc 6 includelib user32.lib 7 includelib kernel32.lib 8 include kernel32.inc 9 include gdi32.inc 10 includelib gdi32.lib 11 include windows.inc 12 13 14 .data 15 _swTitle db "测试标题",0 16 _swContent d... 阅读全文
posted @ 2011-12-01 11:14 Red Cat 阅读(901) 评论(6) 推荐(0) 编辑
摘要: 1 .386 ;指定使用的指令集 2 .model flat,stdcall;指定模式平坦模式,PS:flat,Windw32程序使用的模式,代码和数据段使用同一个4GB断,stdcall语言模式windowsapi格式 3 option casemap:none ;定义程序中变量和子程序大小写敏感 4 5 ;导入 6 include windows.inc 7 include kernel32.inc 8 includelib kernel32.lib 9 include user32.inc10 includelib user32.lib11 12 ;数据段13 .data;初始化过... 阅读全文
posted @ 2011-11-29 19:15 Red Cat 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 简单获取字符串中间值。暂时只知道这种简单的方法。菜鸟方法, 1 public string substringone(string firstkey, string lastkey, string str) 2 { 3 int startIndex = str.IndexOf(firstkey); 4 int lastIndex = str.IndexOf(lastkey); 5 string newstr = str.Substring(startIndex, lastIndex); 6 return substringlast(firstkey, lastkey, newstr); 7 } 阅读全文
posted @ 2011-06-20 14:44 Red Cat 阅读(514) 评论(0) 推荐(0) 编辑

Copyright © 2022 LyShark Powered by .NET 6 on Kubernetes
Theme - LyTheme 1.0