摘要: ///////////////////////////////////////////////////////////////// 04FirstWindow.cpp文件#include #include// 窗口函数的函数原形LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, ... 阅读全文
posted @ 2013-12-11 20:26 乾卦 阅读(1132) 评论(0) 推荐(0) 编辑
摘要: #include #include// 窗口函数的函数原形LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){ char szClassName[] = "MainWClass"; ... 阅读全文
posted @ 2013-12-11 20:12 乾卦 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 原文:http://tieba.baidu.com/p/2596809144#include#include"time.h"#include"stdlib.h"const char road = ' ';const char wall = 'w';const char connect = 1;const char began = 26;const char end = 26;const char path = '.';const char up = 24;const char down = 25;const 阅读全文
posted @ 2013-12-10 16:55 乾卦 阅读(1514) 评论(0) 推荐(0) 编辑
摘要: .386 .model flat, stdcall option casemap :none include windows.incinclude kernel32.incinclude msvcrt.incincludelib kernel32.libincludelib msvcrt.lib .data?dwRadius dd ? ;半径 .datadwCenterX dd 10 ;圆心X .constszFmtp db 'Degree=30,Radius=4 x=%d',0dh,0ah,0szFmtp2 ... 阅读全文
posted @ 2013-12-09 10:28 乾卦 阅读(237) 评论(0) 推荐(0) 编辑
摘要: ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>; 使用 nmake 或下列命令进行编译和链接:; m 阅读全文
posted @ 2013-12-08 19:21 乾卦 阅读(313) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include "resource.h"// 链接到comctl32.lib库#pragma comment(lib,"comctl32.lib")BOOL __stdcall DlgProc(HWND, UINT, WPARAM, LPARAM);void UpdateProcess(HWND hWndList);int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int){ // 初始化Comctl32.dll库 ::Init 阅读全文
posted @ 2013-12-08 11:27 乾卦 阅读(594) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include "resource.h"// 链接到comctl32.lib库#pragma comment(lib,"comctl32.lib")BOOL __stdcall DlgProc(HWND, UINT, WPARAM, LPARAM);void UpdateProcess(HWND hWndList);int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int){ // 初始化Comctl32.dll库 ::Init 阅读全文
posted @ 2013-12-08 10:03 乾卦 阅读(490) 评论(0) 推荐(0) 编辑
摘要: #include#include#include"resource.h"#pragma comment(lib,"comctl32.lib")HWND CreateToolTips(HWND hWnd1,HINSTANCE hInst,HWND DlgItem,WCHAR *szName,int n=1);LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);int APIENTRY WinMain(HINSTANCE hInstance, HINS 阅读全文
posted @ 2013-12-07 15:12 乾卦 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 测试一个win32 asm的随机数算法: .386 .model flat, stdcall option casemap :none include windows.incinclude kernel32.incinclude msvcrt.incincludelib kernel32.libincludelib msvcrt.lib .dataseed dd 108f22afh;count dd ... 阅读全文
posted @ 2013-12-07 14:26 乾卦 阅读(272) 评论(0) 推荐(0) 编辑
摘要: #include#include#include"resource.h"#pragma comment(lib,"comctl32.lib")HWND CreateToolTips(HWND hWnd1,HINSTANCE hInst,HWND DlgItem,WCHAR *szName,int n=1);LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);int APIENTRY WinMain(HINSTANCE hInstance, HINS 阅读全文
posted @ 2013-12-06 12:17 乾卦 阅读(475) 评论(0) 推荐(0) 编辑