05 2011 档案

摘要:vc8以后的运行时部署有两种方式:shared assembiles 和 private assembiles. 当我们的exe(dll)包含的manifest文件对应的vc runtime版本只有一个时使用private assembiles较为方便,当runtime版本为一个新版本和至少一个旧版本(这里只的是同一个dll的版本)推荐使用shared assembiles。他们都是基于Micrsoft vc runtime side by side(SxS),也就是为了避免dll的版本冲突造成程序运行的不确定性。他们的解决办法是在每个exe(dll)中内嵌(或者附带)一个标记所需运行时版本. 阅读全文
posted @ 2011-05-23 20:36 nickolas 阅读(2063) 评论(0) 推荐(0)
摘要:Directx的详细资料少得可怜,D3D9的BeginScene/EndScene写的含糊其词,终于在MSDN Embedded CE 6.0找到了点信息。Applications notify Microsoft® Direct3D® Mobile that scene rendering is about to begin by calling the IDirect3DMobileDevice::BeginScene method. BeginScene causes the system to check its internal data structures a 阅读全文
posted @ 2011-05-17 19:26 nickolas 阅读(4283) 评论(9) 推荐(0)
摘要:使用正则表达式来能够处理很复杂的字符串,这里只分析以下如何使用boost::regex_search进行字符串提取。 主角登场:// boost::regex_search1 template <class BidirectionalIterator, class Allocator, class charT, class traits>2 bool regex_search(BidirectionalIterator first, BidirectionalIterator last,3 match_results<BidirectionalIterator, Alloca 阅读全文
posted @ 2011-05-09 21:38 nickolas 阅读(18208) 评论(0) 推荐(0)