创建dll工程: 1 #include"CustomDll.h" 2 #include 3 BOOL APIENTRY DLLMAIN(HMODULE hModule, DWORD reason_for_call, LPVOID lpReserved) 4 { 5 switch (reaso...
分类:
其他好文 时间:
2015-03-12 18:38:08
阅读次数:
194
异常的捕捉 // @try 块捕捉异常 @try { // 这里发生了一个异常 @throw [NSException exceptionWithName:@"demo" reason:@"the exception demo" userInfo:nil] ; } @catch (NSExcept....
分类:
其他好文 时间:
2015-03-11 23:24:35
阅读次数:
209
今天运行一个场景时候,welcome场景可以旋转,进入主场景后发现只要旋转手机屏幕就会crash。*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UnityDefaultViewController should be used only if unity is se...
分类:
编程语言 时间:
2015-03-08 15:45:50
阅读次数:
402
'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key HeadImageView.'出现这个的原因就是:故事板是...
分类:
其他好文 时间:
2015-03-05 20:55:52
阅读次数:
128
1.sandbox下payment status为pending,pending reason为payment review 解决办法: 这个原因是买方或卖房开启了付款审核,将付款审核关闭,payment status就会变成Completed 在http://developer.paypal.com/ 登陆...
分类:
其他好文 时间:
2015-03-04 11:20:48
阅读次数:
279
转载:http://blog.csdn.net/linux_devices_driver/article/details/17928663Reboot传递参数,使得开机进入参数固定的模式(通常有我们熟悉的bootloader和recovery等),本质是在kernel shutdown时会调用到re...
分类:
移动开发 时间:
2015-02-28 22:51:17
阅读次数:
337
1.You observe that a database performance has degraded overa period of time. While investigating the reason, you find the size ofthe database buffer c...
分类:
其他好文 时间:
2015-02-27 16:50:11
阅读次数:
743
Problem Description
In China, foreign brand commodities are often much more expensive than abroad. The main reason is that we Chinese people tend to think foreign things are better and we are willing to pay much for them. The typical example is, on the Uni...
分类:
其他好文 时间:
2015-02-23 15:32:28
阅读次数:
231
Amakusa, the evil spiritual leader has captured the beautiful princess Nakururu. The reason behind this is he had a little problem with Hanzo Hattori, the best ninja and the love of Nakururu. After he...
分类:
其他好文 时间:
2015-02-18 15:21:45
阅读次数:
323
错误信息:reason: 'Could not load NIB in bundle: 'NSBundle
(loaded)' with name 'collectViewCell''
查找原因:UICollectionView注册的是时候出错;
如下:
[self.collectionView registerNib:[UINib nibWithNibName:@"sch...
分类:
其他好文 时间:
2015-02-14 16:18:40
阅读次数:
834