2012年9月12日

摘要: 看到别人的文章,特地查找了下这个类,这应该是C++11提供的新功能,可以直接std::wstring_convert和std::codecvt_utf8来处理UTF8与WChar之间的互转。VS2008应该不支持,VS2010由于没环境测试不清楚。ExampleThe following example demonstrates the difference between UCS2/UTF-8 and UTF-16/UTF-8 conversions: the third character in the string is not a valid UCS2 character.#inclu 阅读全文
posted @ 2012-09-12 12:40 wjh2005 阅读(1955) 评论(1) 推荐(0)

2012年7月4日

摘要: IHE Radiology TechnicalFramework Volume 24.16.4.2.2.1 Display of Digital X-Ray, Mammo and Intra-Oral ImagesFor the “For Presentation” variant of the Digital X-Ray Image, the Digital Mammography Image, and the Digital Intra-oral X-Ray Image, the Image Display or Imaging Document Consumer actor shall 阅读全文
posted @ 2012-07-04 13:21 wjh2005 阅读(1620) 评论(0) 推荐(0)

2010年11月15日

摘要: 要使ActiveX控件在IE中成为安全的ActiveX控件,需要增加如下代码:1. 定义常量_ctlid. ID的值跟xxxCtrl.cpp文件中的IMPLEMENT_OLECREATE_EX一致.[代码]2. 增加函数CreateComponentCategory, RegisterCLSIDInCategory和UnRegisterCLSIDInCategory.代码3. 修改DllRegis... 阅读全文
posted @ 2010-11-15 15:04 wjh2005 阅读(396) 评论(2) 推荐(0)
 
摘要: 1. 创建根证书文件makecert -n "CN=Agfa Root" -sv root.pvk -b 01/01/2001 -e 12/31/2050 -r root.cer2. 创建自己的证书文件makecert -sv wjh.pvk -iv root.pvk -ic ROOT.cer -n "CN=Agfa Test" wjh.cer3. 转换cer格式为spc格式, 得到wjh.spc... 阅读全文
posted @ 2010-11-15 14:35 wjh2005 阅读(584) 评论(0) 推荐(0)