该问题,我百度了下,根本没发现什么有价值的文章;还是看源代码(详见最后附录)中的注释,最有效了!insert,返回值是:新插入行的主键(primarykey);需要包含 insert into desktop_unlock_tag(id,name,description,...
分类:
数据库 时间:
2015-03-11 19:32:57
阅读次数:
682
index网站主页 主页1 主页2 主页3 主页4 主页5 js文件代码var TIMER_SLIDE = null;var OBJ_SLIDE;var OBJ_VIEW;var PIX_SLIDE = 10; //this is the amount of slide/DELAY_SL...
分类:
其他好文 时间:
2015-03-10 00:04:42
阅读次数:
186
摘要:同一个CMutex对象不允许在两个线程中分别调用Lock和Unlock,否则Unlock会失败并返回0。
一、问题描述
笔者最近在开发过程中遇到了CMutex::Unlock返回0的情况,通过MSDN得知这表示Unlock失败。但MSDN并没有告诉我为什么会失败以及如何处理,查百度谷歌亦无果,于是决定动手探索。
这是MSDN上Unlock对返回值的解释
Ret...
分类:
其他好文 时间:
2015-03-09 17:40:47
阅读次数:
402
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out's, you...
分类:
其他好文 时间:
2015-02-27 21:41:22
阅读次数:
243
现在很多的APP中都有slide view,左右滑动出现侧边菜单栏的功能,Weico这个应用就有。网上有很多第三方的类库实现了这种效果,其实自己代码写的话也是很简单的,下面我将介绍两种方法实现slide view。---- 一种是用第三方类库IIViewDeckController这个类库实现的效果...
分类:
移动开发 时间:
2015-02-27 21:29:59
阅读次数:
188
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out's, you...
分类:
其他好文 时间:
2015-02-24 12:38:14
阅读次数:
136
模拟iphone slide to unlock 的聚光动画文字效果 /底层放淡文字 /前景放高亮文字+半透明遮罩 /动画移动遮罩Author: surfsky.cnblogs.com 2015-02Lisence: MIT, 请保留本文档说明【先看效果】【下载】http://download...
分类:
其他好文 时间:
2015-02-15 17:55:59
阅读次数:
253
如上篇文章“Eclipse web项目引用其它项目时的部署问题”中提到的,有时候我们希望其它项目引用此项目时,发布后的是jar包,而不是war包,那么应该怎么转换呢?在项目名称上单击鼠标右键》Properties》Project Facets
有时候可能显示是锁定的,无法取消选中状态,需要右键》Unlock
然后取消下图对应两项的选中状态,点击应用(Apply)就OK了。...
分类:
编程语言 时间:
2015-02-12 18:29:58
阅读次数:
161
因为 IIS 7 采用了更安全的 web.config 管理机制,默认情况下会锁住配置项不允许更改。运行命令行 %windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers 。其中的 handler...
/**
* Created by Administrator on 2015/2/9.
*/
function XmSlide()
{
this.defaults={//默认参数
delay:0,
type:"slide",
effect:"fade",
iNow:0,
autoPlay...
分类:
其他好文 时间:
2015-02-11 14:33:54
阅读次数:
161