会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
dzldzl
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
19
20
21
22
23
24
25
26
27
下一页
2014年6月6日
NPAPI插件编程起步
摘要: http://geeklu.com/2010/10/getting-started-with-npapi-plugin/2012-10-10 更新:https://code.google.com/p/chromium/issues/detail?id=139816Chrome22之后貌似完全放弃10...
阅读全文
posted @ 2014-06-06 14:25 dzldzl
阅读(668)
评论(0)
推荐(0)
2014年6月4日
mac 中arc的设置与使用
摘要: 旧工程配置arc方案:1,直接在targets->build phases中修改compiler Flags,是否支持arc。添加:-fobjc-arc,就可以让旧项目支持arc。如果想让原来支持arc的不使用arc则添加-fno-objc-arc2,因为在build phases中可以改变是否支持...
阅读全文
posted @ 2014-06-04 09:20 dzldzl
阅读(1529)
评论(0)
推荐(0)
2014年5月29日
NPAPI脚本化接口
摘要: http://blog.csdn.net/hgl868/article/details/8576531scriptable接口的实现,与属性有关的函数为HasProperty、GetProperty、SetProperty。在JS中设置属性(以bar为例)用plugin.bar=barvalue;来...
阅读全文
posted @ 2014-05-29 16:50 dzldzl
阅读(386)
评论(0)
推荐(0)
NPAPI 插件运行流程分析
摘要: 本文详细分析插件的代码是如何执行的,主要分析np_entry.cpp、npn_gate.cpp和npp_gate.cpp.希望能够有所收获。在windows平台下,插件就是一个dll,注意到这个dll的def文件内容是:NP_GetEntryPointsNP_InitializeNP_Shutdow...
阅读全文
posted @ 2014-05-29 16:47 dzldzl
阅读(875)
评论(0)
推荐(0)
时间单位换算表
摘要: 时间单位换算表1秒=1000毫秒(ms)1毫秒=1/1,000秒(s)1秒=1,000,000微秒(μs)1微秒=1/1,000,000秒(s)1秒=1,000,000,000纳秒(ns)1纳秒=1/1,000,000,000秒(s)1秒=1,000,000,000,000皮秒(ps)1皮秒=1/1...
阅读全文
posted @ 2014-05-29 09:33 dzldzl
阅读(639)
评论(0)
推荐(0)
2014年5月28日
mach_absolute_time
摘要: 今天在iOS下找类似Windows平台的GetTickCount这样的函数,找到一个叫mach_absolute_time()的函数,但是Apple的文档非常不给力,找个半天才比较清楚是怎么回事,原来这个函数返回的值只是启动后系统CPU/Bus的clock一个tick数,跟GetTickCount不...
阅读全文
posted @ 2014-05-28 17:33 dzldzl
阅读(1396)
评论(0)
推荐(0)
dispatch_release崩溃
摘要: dispatch_release时值不能小于dispatch_semaphore_create时的值,否则系统会认为还在使用中而报错http://stackoverflow.com/questions/8287621/why-does-this-code-cause-exc-bad-instruct...
阅读全文
posted @ 2014-05-28 09:19 dzldzl
阅读(247)
评论(0)
推荐(0)
2014年5月27日
Dispatch Semaphore
摘要: A dispatchsemaphore(信号量) is useful if you need a concurrency control for a small portion(部分) of the source code that has smaller granularity(颗粒度) than...
阅读全文
posted @ 2014-05-27 10:25 dzldzl
阅读(437)
评论(0)
推荐(0)
2014年5月23日
崩溃问题汇总
摘要: 1.malloc申请空间不当,导致越界,在不定的情况下崩溃typedef struct _tagCmsHcInst{。。。。。。}cmsHcInst,*pcmsHcInst;错误:pcmsHcInstinst = (pcmsHcInst)malloc(sizeof(pcmsHcInst))正确:pc...
阅读全文
posted @ 2014-05-23 15:58 dzldzl
阅读(145)
评论(0)
推荐(0)
2014年5月21日
NSImage 存储为jpg或png文件的方法
摘要: 相同:NSData*imageData =[imageTIFFRepresentation]; NSBitmapImageRep*imageRep =[NSBitmapImageRep imageRepWithData:imageData]; [imageRep setSize:[[_imageV...
阅读全文
posted @ 2014-05-21 23:06 dzldzl
阅读(934)
评论(0)
推荐(0)
上一页
1
···
19
20
21
22
23
24
25
26
27
下一页
公告