
测试用
小米渣的逆袭
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Win10 64 上程序崩溃排查 32位同理
先贴代码 参考文章 #include <windows.h> void crash() { int wjr = 3; int* p = NULL; *p = 10; } void function() { crash(); } int WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPSTR lpCmdLine, _In_ int nShowCmd) { function();.原创 2021-01-06 14:07:50 · 391 阅读 · 0 评论 -
内核编程学习
sc create FirstDriver binPath= “C:\FirstDriver.sys” type= kernel start= demand sc start FirstDriver sc stop FirstDriver sc delete FirstDriver sc query FirstDriver原创 2020-09-28 09:46:02 · 189 阅读 · 0 评论 -
修改植物大战僵尸阳关代码
void CModifyGameDlg::OnBnClickedOk() { // TODO: 在此添加控件通知处理程序代码 //CDialogEx::OnOK(); HWND hwnd = ::FindWindow(0, L"植物大战僵尸中文版"); if (!hwnd) { return; } DWORD pid = 0; //通过窗口句柄获取pid DWORD result = GetWindowThreadProcessId(hwnd, &pid); if (!p原创 2020-09-22 20:30:39 · 1471 阅读 · 0 评论 -
GO 基础
package main import ( "fmt" "sync/atomic" "time" ) func Chann(ch chan int,addr *int32,exitCh chan bool) { for { ret := atomic.LoadInt32(addr) if ret == 1 { break } ch <- 100 ...原创 2020-04-16 09:45:34 · 211 阅读 · 0 评论 -
shell 常用脚本
#获取当前目录 rootPath=$(cd "$(dirname "$0")"; pwd) echo ${rootPath} #获取上一层目录 lastDir=$(dirname "$PWD") #遍历文件夹下面文件 for file in `ls $rootPath` do echo "文件名=$file" #获取文件后缀名 ext=${file##*.} if [ "$ext" ==...原创 2019-12-06 14:39:22 · 332 阅读 · 0 评论 -
雪花代码
<!doctype html> <html> <head> <meta charset="utf-8"> <title>文件下载</title> <script> window.onload = function() { cli原创 2018-12-29 09:43:46 · 2900 阅读 · 0 评论 -
App Store审核标准
参考 https://developer.apple.com/app-store/review/guidelines/ http://www.ithome.com/html/it/136890.htm1.条款和条件1.1为App Store开发程序,开发者必须遵守Program License Agreement (PLA)、人机交互指南(HIG)以及开发者和苹果签订的任何其他协议和合同。以下规转载 2016-04-08 09:21:26 · 845 阅读 · 0 评论 -
C++ Socket服务器简单代码示例
C++ Socket服务器简单代码示例#include <WinSock2.h> #include <stdio.h> #pragma comment(lib,"ws2_32.lib")//服务器端 void main() { WSADATA wsaData; int errorCode = WSAStartup(MAKEWORD(1,1),&wsaData);原创 2015-06-12 15:40:41 · 2227 阅读 · 0 评论 -
垂直滚动条测试
垂直滚动条测试// ScrollBarTest.cpp : 定义应用程序的入口点。 //#include "stdafx.h" #include "ScrollBarTest.h"#define MAX_LOADSTRING 100// 全局变量: HINSTANCE hInst; // 当前实例 TCHAR szTitle[MAX_LO原创 2015-06-24 15:44:40 · 975 阅读 · 0 评论