- 博客(6)
- 收藏
- 关注
原创 使用gcc编译windows程序
首先创建一个rc文件-res.rc,内容如下IDI_ICON ICON t.ico然后是cc文件-main.cc#include const char winapp[] = "win32app";LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam){ switch(msg
2015-09-11 21:55:31
1301
原创 Nodejs实现简单http server
var express = require('./express');var path = require('path');var httpserver = express();var http_port=9000;//设置服务器根目录//在当前文件夹下创建public文件夹作为服务器根目录//在public文件夹下创建crossdomain.xml/* */ht
2015-09-11 10:04:35
1451
原创 Node.js实现的flash-socket策略服务器
// written in node.js// a policy server for flash socketvar PORT = 843;var POLICY_XML ='' + ''+ '' +'';var net = require('net');net.createServer(function(flashSocketPolicyServer) {
2015-09-11 09:48:36
662
原创 从boot读取软盘扇区中的汇编
;NASM 汇编;nasm this.asm -o hello_osorg 07c00h mov ax, cs mov ds, axcall welcome_wordscall load_osjmp oswelcome_words: mov ax,boot_message mov bp,ax ;bp存储需要显示
2015-09-09 16:31:55
1635
原创 挂机游戏隐藏窗口代码
#include#include#includeint main(){ HWND window_to_handle =NULL; bool showing=true; std::string anykey; void show_window(HWND); void hide_window(HWND); window_to_handle =FindWindow(NULL,"
2015-09-07 11:18:54
1083
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人