snap current active window(alt + Print Screen
SysRq).snap the whole window (Print Screen SysRq).
分类:
其他好文 时间:
2014-05-12 17:59:31
阅读次数:
322
一、简单介绍using System.Xml;//初始化一个xml实例XmlDocument
xml=new
XmlDocument();//导入指定xml文件xml.Load(path);xml.Load(HttpContext.Current.Server.MapPath("~/file/boo...
分类:
其他好文 时间:
2014-05-05 23:59:47
阅读次数:
347
在memory.c里面,遇到一个宏定义,如下:
#define CODE_SPACE(addr) ((((addr)+4095)&~4095) start_code + current->end_code)
看的第一眼,不知道,第二眼,还是不知道,纠结了半天还是不知道。
睡了一晚,今天早上再看,嘿嘿,居然看懂了。。。
这个宏定义用于判断给定的addr线...
分类:
系统相关 时间:
2014-05-01 17:54:09
阅读次数:
516
AnimatorStateInfoNamespace:
UnityEngineDescriptionInformation about the current or next
state.AnimatorStateInfo.nameHashvarnameHash: int;DescriptionNa...
分类:
其他好文 时间:
2014-05-01 13:29:12
阅读次数:
592
void listFiles(){ namespace fs = boost::filesystem;
boost::filesystem::path path=boost::filesystem::current_path();
fs::directory_iterator item_beg...
分类:
其他好文 时间:
2014-05-01 05:23:07
阅读次数:
310
【创建目录】using
System.IO;Directory.CreateDirectory(FilePath);【使用WriteFile下载文件】private string
fileName = HttpContext.Current.Server.UrlEncode("规范.rar"); p...
分类:
其他好文 时间:
2014-04-30 23:34:03
阅读次数:
443
示例代码将在注册表位置:HKEY_CURRENT_USER\Software\ 读写键值
bool LicenseManage::OpenRegKey(HKEY& hRetKey)
{
if (ERROR_SUCCESS == RegOpenKey(HKEY_CURRENT_USER,"Software", &hRetKey))
{
return true;
...
分类:
其他好文 时间:
2014-04-30 22:12:40
阅读次数:
195
一开始由这段代码引发的纠结
get_base(current->ldt[1])
下面是各个相关的代码,摘自不同的header files。。。
current是指向当前task的指针
struct desc_struct ldt[3];
struct desc_struct {
unsigned long a,b;
} ;
#define _get_...
分类:
系统相关 时间:
2014-04-29 13:42:20
阅读次数:
546
1、报错The current deployment target does not support automated __weak references
这个错误是说支持的iOS版本比较低不支持weak关键字,要将其换成 unsafe_unretained 问题就解决了。...
分类:
移动开发 时间:
2014-04-29 13:26:20
阅读次数:
344
VBA bat create excel files
the datasource is current excel...
分类:
其他好文 时间:
2014-04-29 13:24:22
阅读次数:
259