转自:http://blog.csdn.net/cnjsnt_s/article/details/5548280具体使用时需要参考:http://blog.csdn.net/codeforme/article/details/5539454
(注:没看很明白,囧。)MySQL有两种常用的引擎类型:M...
分类:
数据库 时间:
2014-04-30 00:24:37
阅读次数:
619
项目中嵌入了IE控件,近期做了一次大改版,发现网页不能进行复制和剪切了,折腾了半天,发现是com初始化有问题:修正前的方式:CoInitialize(NULL);//
do your workCoUninitialize();修正后的方式:OleInitialize(NULL);// do your...
分类:
Web程序 时间:
2014-04-29 23:24:02
阅读次数:
509
UIView *parentView = nil; NSArray* windows =
[UIApplication sharedApplication].windows; UIView* window = [windows
objectAtIndex:0]; ...
分类:
其他好文 时间:
2014-04-29 19:09:34
阅读次数:
994
1.添加元素的时候,先取出数组,再向数组中添加元素:-
(void)addPeason:(AddressPeason*)peason{
if(![[peasongetName]isEqualToString:nil]) {
for(NSString*stringin[_peasonDiction.....
分类:
其他好文 时间:
2014-04-29 11:22:45
阅读次数:
535
http://hi.baidu.com/mingyuejingque/item/78e71aff57ae9ec5a835a2e4感谢mingyuejingquest
= avformat_new_stream( m_oc, NULL); if (!st) { fprintf(stderr, ...
分类:
其他好文 时间:
2014-04-29 10:41:46
阅读次数:
441
大多数计算机语言,有且仅有一个表示"无"的值,比如,C语言的NULL,Java语言的null,Python语言的None,Ruby语言的nil。有点奇怪的是,JavaScript语言居然有两个表示"无"的值:undefined和null。这是为什么?一、相似性在JavaScript中,将一个变量赋值...
分类:
其他好文 时间:
2014-04-29 10:32:46
阅读次数:
404
+ (instantClass *)sharedClient {static instantClass
*_sharedClient = nil;static dispatch_once_t
onceToken;dispatch_once(&onceToken, ^{_sharedClient = ...
分类:
移动开发 时间:
2014-04-29 10:27:47
阅读次数:
419
1 public static String makeMD5(String password) { 2
String result = null; 3 4 MessageDigest messageDigest; 5 try { 6 ...
分类:
其他好文 时间:
2014-04-29 10:16:46
阅读次数:
348
疑问为什么GetMessage的第二个参数制定为hwnd后,应用程序无法退出?解释MSDN中指出:当第二个参数为NULL时,GetMessage取得那些属于调用线程的窗口的消息和通过PostThreadMessage函数投递到调用线程的线程消息。GetMessage需要检索到WM_QUIT返回一个F...
分类:
其他好文 时间:
2014-04-29 10:12:47
阅读次数:
673
+ (SCLocationController *)sharedController{ static
SCLocationController *sharedController = nil; static dispatch_once_t onceToken;
dispatc...
分类:
移动开发 时间:
2014-04-29 10:12:46
阅读次数:
534