摘要:// #include "stdafx.h"#include <Windows.h>#include <vector>HWND g_hWnd;HDC g_hTopDc = NULL;HBITMAP g_hBitMap = NULL;UINT g_iWidth, g_iHeight;LRESULT MainWndProc( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam );struct BitmapFileHeader { WORD bfType; DWORD bfSize; WORD bfRes.
阅读全文
摘要:Ubuntu下安装了Apache 2却无法解析html中的php ,好多说是在httpd.conf文件中修改代码,但是ubuntu中没有这个文件啊,新建添加代码之后,网页直接把html的代码给显示出来了……其实一个可行的办法是,在/etc/apache2/apache2.conf文件中添加下面两行即可:AddHandler php5-script .php .htmlAddType text/html .php .html保存后重启apache2:sudo /etc/init.d/apache2 restart
阅读全文
摘要:http://wiki.ubuntu.org.cn/Apachehttp://www.linuxidc.com/Linux/2010-07/27230.htm
阅读全文
摘要:### $Id: ms10_026_avi_nsamplespersec.rb 13555 2011-08-13 02:15:05Z sinn3r $##### This file is part of the Metasploit Framework and may be subject to# redistribution and commercial restrictions. Please see the Metasploit# Framework web site for more information on licensing and terms of use.# http://
阅读全文
摘要:在WINCE下,如果创建的位图与屏幕设备格式不一样,将会导致BitBlt函数极为缓慢,因此需要创建一幅16位色565格式位图,用此方法创建出的位图可以提供1ms的快速BitBlt绘制。当然,如果设备不是565颜色格式的,更改代码中的颜色掩码位bmiColors就可以了。view plain/////////////////////////////////////////////////////////////////////////////@brief创建一幅缓存图像。///@param[out]pHBitmap生成的位图句柄。///@param[out]pData生成的位图中的数据位置。//
阅读全文