摘要: 这个的原因很多地方都有描述,原因多半是多国语言string.xml 有的有这个值, 有的没有. 关键是怎么定位? 实际上他报错的是当前处理的xml element有问题, 而出错的时候盖住了要处理的. 所以只要把以前能正确处理的apk 用aapt dump badging <*.apk> 来看看是谁 阅读全文
posted @ 2017-04-19 20:52 四六成双 阅读(776) 评论(0) 推荐(0) 编辑
摘要: 1. hg clone代码回来后,还要下载对应的cef dll . 从http://xilium.bitbucket.org/cefglue/选择对应的. 然后把dll和resource目录里的内容都考到debug目录里才能运行.2.不能使用 Enable the Visual Studio hosting process 来运行. 因为还会启动2个进程. 这两个进程是相同的exe只是命令行不同, 如果使用了 hosting process ,那么就不能启动另外两个进程. 调试的时候把所有的项目类型从framework 2.0 3.5 统一到4.0 调试断点才管用. 由于chrome是多... 阅读全文
posted @ 2014-01-10 11:32 四六成双 阅读(3653) 评论(4) 推荐(3) 编辑
摘要: 有个程序总是在windows 2003 server 异常退出. 并且, 查看调用栈也肯奇怪, 应该是很正常的调用. 怀疑是堆溢出.开启heap trace :C:\Program Files\Debugging Tools for Windows (x86)>gflags -i app.exe +ust+hpa发现在Font.ToLogFont函数遇到: {"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."}如 阅读全文
posted @ 2013-08-08 13:32 四六成双 阅读(714) 评论(0) 推荐(1) 编辑
摘要: To resolve this problem, follow these steps:Because cell comments are hidden by default, select the cell containing the comment, right-click the cell, and then click Show Comment on the shortcut menu.If the workbook is not shared, move the pointer to the edge of the comment until the pointer turns i 阅读全文
posted @ 2013-03-20 10:13 四六成双 阅读(476) 评论(0) 推荐(0) 编辑
摘要: RegionUsageIsVAD 中所用内存不在heap也不在gcheap的是virtualalloc 的并且没有free的. 阅读全文
posted @ 2013-01-28 17:28 四六成双 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 问题见:http://www.mysanco.com/index.php?class=wenku&action=wenku_item&id=11&type=wb程序找到的解:17,19,20,21,22,24,26,27,30,32,33,34,35,36,39,40,42,44,48,50,52,54,55,56,57,60,63,66,70,72,75,76,77,78,80,84,85,88,90,91,96,9917,18,19,21,22,24,26,27,30,32,33,34,35,39,40,42,44,45,48,50,52,54,55,56,57,6 阅读全文
posted @ 2012-08-27 16:47 四六成双 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 数列:A(n+1)=(A(n)^2 + c^2)/A(n-1)=(c^2 +2)*A(n)-A(n-1);其中: A(0)=1,A(1)=1; n,c是正整数. 比如:c=1时:A(n+1) = (A(n)^2 +1)/A(n-1)=3A(n)-A(n-1). 即数列http://oeis.org/A001519:1, 1, 2, 5, 13, 34, 89, 233, 610...c=2时:A(n+1) = (A(n)^2 +4)/A(n-1)=6A(n)-A(n-1). 即数列http://oeis.org/A001653:1, 1, 5, 29, 169, 985, 5741, 3346 阅读全文
posted @ 2012-07-13 17:58 四六成双 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 如题. 阅读全文
posted @ 2012-05-03 16:59 四六成双 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Reflector 试用过期修改注册表以重置试用 阅读全文
posted @ 2011-05-12 16:17 四六成双 阅读(1502) 评论(0) 推荐(3) 编辑
摘要: InnerException 为: {"Server cannot set content type after HTTP headers have been sent."}经debug发现,是在: 1publicstringContentType2{3get4{5returnthis._contentType;6}7set8{9if(this._headersWritten)10{11if(this._contentType!=value)12{13thrownewHttpException(System.Web.SR.GetString("Cannot_set 阅读全文
posted @ 2011-03-16 17:51 四六成双 阅读(1389) 评论(0) 推荐(0) 编辑