??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久国产精品,国产精自产拍久久久久久蜜,久久亚洲2019中文字幕http://www.shnenglu.com/wanghaiguang/category/20410.html逆水行舟Q不q则退zh-cnSat, 11 Jan 2014 20:56:57 GMTSat, 11 Jan 2014 20:56:57 GMT60C#代码反编?得到目可运行源?l验分n(附:(x)扚w修改文g名工?Q{?/title><link>http://www.shnenglu.com/wanghaiguang/archive/2013/10/23/203886.html</link><dc:creator>王v?/dc:creator><author>王v?/author><pubDate>Wed, 23 Oct 2013 02:23:00 GMT</pubDate><guid>http://www.shnenglu.com/wanghaiguang/archive/2013/10/23/203886.html</guid><wfw:comment>http://www.shnenglu.com/wanghaiguang/comments/203886.html</wfw:comment><comments>http://www.shnenglu.com/wanghaiguang/archive/2013/10/23/203886.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/wanghaiguang/comments/commentRss/203886.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/wanghaiguang/services/trackbacks/203886.html</trackback:ping><description><![CDATA[<p style="font-family: 'black Verdana', Arial, Helvetica, sans-serif; background-color: #ffffff; margin-top: 10px !important; margin-bottom: 10px !important;">    谈到"<font color="#78afd3">C#代码反编?/font>"Q大家可能都?x)想?nbsp;<font color="#78afd3">Reflector代码反编?/font>工具Q对其应该也不会(x)太陌生;做C#开发,它算得上是一个不可或~的实用工具。通过它我们可以很方便的查看一个程序集的源代码(q是其最基本的用,也是大家常用?Q还可以方便<font color="#78afd3">破解软g</font>...,而我q篇文章要跟大家分n的是Q用ReflectorC#的开发的软g[目](此文中所说的是winForm目Q对?net目可以借鉴或参?的项目代码还?#8212;—反编译得到可q行目源码?我所做的<font color="#78afd3">反编?/font>Qƈ不是'破解'Q其使用的前提或情况是:(x)公司原来请h开发的'<font color="#78afd3">配餐软g</font>(q儿园版)'Q现有客户咨询想乎ͼq且软g中存在一些问题需改,——不是本h开发的Q该软g也无源码Q想修改只能惛_法得到Y件的源码。具体的'破解'Ҏ(gu)记录在下Q方便自׃后查看!(ps: '破解'的方法,自己之前摸索过。但C反编译之后的error比较多,没有耐心(j)Q有的问题感觉比较离奇,试了(jin)几次不行放弃了(jin)  ——q就间接的说明:(x)真正的黑客,应该都是比较有耐心(j)?呵呵..., 但做软g开发,又何不需要这PQ?</p><p style="font-family: 'black Verdana', Arial, Helvetica, sans-serif; background-color: #ffffff; margin-top: 10px !important; margin-bottom: 10px !important;">     a.使用到的工具QReflectorQ具体的说是Q?font color="#78afd3">Reflector插gFile disassembler</font>(具体是什么和how to useQ直接上|查)?/p><p style="font-family: 'black Verdana', Arial, Helvetica, sans-serif; background-color: #ffffff; margin-top: 10px !important; margin-bottom: 10px !important;">     b. 打开ReflectorQ选择?破解'的Y?.exe)ȝ序,再选择q点?如图:<img src="http://www.shnenglu.com/images/cppblog_com/wanghaiguang/fanbianyi1.gif" width="355" height="225" alt="" />, 在右侧出现的 E序?输出)cd选择界面 选择cd'windows Appliction' (因ؓ(f)是winForm应用E序Q如果是选择的其??class ...'cd,则需要在之后的步骤中Q改变项目属性中?输出cdQ不q样操作)Q如图:(x)<img src="http://www.shnenglu.com/images/cppblog_com/wanghaiguang/fanbianyi2.gif" width="1132" height="194" alt="" /></p><p style="font-family: 'black Verdana', Arial, Helvetica, sans-serif; background-color: #ffffff; margin-top: 10px !important; margin-bottom: 10px !important;"> 点击 生成 卛_ 得到此主E序集的源码Q其它的相关E序集再如此操作卛_Q?——不要以ؓ(f)大功告成Q这只是W一步,ȝ(ch)的在后面Q?/p><p style="font-family: 'black Verdana', Arial, Helvetica, sans-serif; background-color: #ffffff; margin-top: 10px !important; margin-bottom: 10px !important;">    c.生成的源码 在Vs中打开(目), 先试着q行下,(一??x)报错,排?xxxE序集不存在'q类的错误,我所遇到的如下:(x)<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000FF; ">using</span> System;<br /><span style="color: #0000FF; ">using</span> System.Collections.Generic;<br /><span style="color: #0000FF; ">using</span> System.Runtime.CompilerServices;<br /><span style="color: #0000FF; ">using</span> System.Runtime.InteropServices;<br /><br />[CompilerGenerated]<br />internalclass<PrivateImplementationDetails>{1FF4F699-35E0-4117-BDBC-9E44A1B0F9F5}<br />{<br />internalstatic Dictionary<<span style="color: #0000FF; ">string</span>, <span style="color: #0000FF; ">int</span>> $$method0x600012e-1;<br />internalstatic Dictionary<<span style="color: #0000FF; ">string</span>, <span style="color: #0000FF; ">int</span>> $$method0x6000137-1;<br />internalstatic Dictionary<<span style="color: #0000FF; ">string</span>, <span style="color: #0000FF; ">int</span>> $$method0x6000137-2;<br />internalstatic Dictionary<<span style="color: #0000FF; ">string</span>, <span style="color: #0000FF; ">int</span>> $$method0x600014a-1;<br />internalstatic Dictionary<<span style="color: #0000FF; ">string</span>, <span style="color: #0000FF; ">int</span>> $$method0x6000169-1;<br />internalstatic Dictionary<<span style="color: #0000FF; ">string</span>, <span style="color: #0000FF; ">int</span>> $$method0x60001b6-1;<br />internalstatic __StaticArrayInitTypeSize=20 $$method0x6000213-1; <span style="color: #008000; ">//</span><span style="color: #008000; "> data size: 20 bytes</span><span style="color: #008000; "><br /></span>internalstatic __StaticArrayInitTypeSize=20 $$method0x6000213-2; <span style="color: #008000; ">//</span><span style="color: #008000; "> data size: 20 bytes</span><span style="color: #008000; "><br /></span>internalstatic __StaticArrayInitTypeSize=20 $$method0x6000213-3; <span style="color: #008000; ">//</span><span style="color: #008000; "> data size: 20 bytes</span><span style="color: #008000; "><br /></span>internalstatic __StaticArrayInitTypeSize=20 $$method0x6000213-4; <span style="color: #008000; ">//</span><span style="color: #008000; "> data size: 20 bytes</span><span style="color: #008000; "><br /></span><br />[StructLayout(LayoutKind.Explicit, Size=20, Pack=1)]<br />privatestruct __StaticArrayInitTypeSize=20<br />{<br />}<br />}</div></p><p style="font-family: 'black Verdana', Arial, Helvetica, sans-serif; background-color: #ffffff; margin-top: 10px !important; margin-bottom: 10px !important;"> 源码文g中会(x)出现一?_PrivateImplementationDetails_{1FF4F699-35E0-4117-BDBC-9E44A1B0F9F5}.cs 文g名很?内容如上?qc,Ҏ(gu)解决办法Ӟ(x)注释此类 或直接删除。【程序相关的文gQ如囄、数据库{要记得攑ֈ目兌位置Q一般在bin/debug/文g夹下?/p><p style="font-family: 'black Verdana', Arial, Helvetica, sans-serif; background-color: #ffffff; margin-top: 10px !important; margin-bottom: 10px !important;">    d. d相关E序集的引用Q设|启动对象。到q儿Q差不多E序可?跑v来了(jin)Q但是还没有?——因ؓ(f) 反编译后的代码,文g夹的位置和界面与资源引用之间的关联,基本上都׃(jin).所以现在要解决的关键问题是Q恢复文仉的关联和引用(其它的问题,通过调试差不多可以解决)。如?</p><p style="font-family: 'black Verdana', Arial, Helvetica, sans-serif; background-color: #ffffff; margin-top: 10px !important; margin-bottom: 10px !important;"><img src="http://www.shnenglu.com/images/cppblog_com/wanghaiguang/fanbianyi3.gif" width="323" height="666" alt="" />H体?cs?resxQ资源)(j)文g不在同一个文件夹中,对应H体?resx文g都加上了(jin)目或解x案名前缀(zhiyiSystem.) ——This is point!  q就是我们要解决问题的关键:(x)恢复H体?cs?resx文g间的兌Q操作大致有以下两步Q?strong>1.窗体的.cs?resx文g攑֜同一个文件中——卛_一目录?.LH体?resx文g的前~ ——即修Ҏ(gu)件名Q如果是一个个文gM改,H体比较多的话,是一仉帔R复而无聊的事,于是 ׃|找 "扚w修改文g?的工P下蝲?jin)一两个感觉都不好用Q找不到Q只能自己搞?jin),再说q东西简单,说白?jin)就?遍历文g夹中文gq?重命?(代码׃贴出?jin),文章?附有 自己写的 "扚w修改文g?工具)?/strong></p><p style="font-family: 'black Verdana', Arial, Helvetica, sans-serif; background-color: #ffffff; margin-top: 10px !important; margin-bottom: 10px !important;">       到此Q程序就可以真正跑v来了(jin)。别看我写出来,g'<font color="#78afd3">破解</font><a style="color: #78afd3;">'</a>是一?x)儿的事Q但我做的时候,却几l折?好几ơ都感觉"了(jin)Q又卡住?..",有些或大或小问题Q在q里因ؓ(f)旉的原??qing)有些步骤一时半?x)也想不h?jin),但主要的?gu)应该都没有落下,如果有不明白的朋友,可以留言交流Q再做解{;也希望在'破解'Ҏ(gu)有经验的Q能多提些意见,分n下你?#8216;破解’l验Q?/p><p style="font-family: 'black Verdana', Arial, Helvetica, sans-serif; background-color: #ffffff; margin-top: 10px !important; margin-bottom: 10px !important;">     后附:<br />               <span style="color: #ff0000; font-size: 18pt;"><strong><a title="扚w修改文g名工?rar" href="/Files/wanghaiguang/扚w修改文g名工?rar" style="color: #ff0000;">扚w修改文g名工?rar</a></strong></span><br /><br />本文转自Q?a style="font-family: verdana, 'courier new';">http://www.cnblogs.com/know/archive/2011/03/15/1985026.html<br />相关</a>q接Q?a style="font-family: verdana, 'courier new';">http://www.cnblogs.com/verygis/archive/2008/12/02/1346072.html</a></p><img src ="http://www.shnenglu.com/wanghaiguang/aggbug/203886.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/wanghaiguang/" target="_blank">王v?/a> 2013-10-23 10:23 <a href="http://www.shnenglu.com/wanghaiguang/archive/2013/10/23/203886.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ocx和DLL文g打包成cab文gQIE览器在U安?/title><link>http://www.shnenglu.com/wanghaiguang/archive/2013/09/05/203013.html</link><dc:creator>王v?/dc:creator><author>王v?/author><pubDate>Thu, 05 Sep 2013 02:05:00 GMT</pubDate><guid>http://www.shnenglu.com/wanghaiguang/archive/2013/09/05/203013.html</guid><wfw:comment>http://www.shnenglu.com/wanghaiguang/comments/203013.html</wfw:comment><comments>http://www.shnenglu.com/wanghaiguang/archive/2013/09/05/203013.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/wanghaiguang/comments/commentRss/203013.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/wanghaiguang/services/trackbacks/203013.html</trackback:ping><description><![CDATA[<br /><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">我们打开淘宝{网站时QIE览器会(x)提示安装I间Q这个控件便是用于对用户名密码进行加密的ActiveX控g。如何在我们的站点上安装如此控gQ让用户可以通过单的点击便可方便使用我们的空间呢Q?/p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">下面是如何让在你的站点上安装控g的方法?/p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"><strong></strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"></p><hr style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"></p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"> <strong>基础知识</strong></p><h2>html语言中Object标签</h2><h3>定义和用?/h3><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">定义一个嵌入的对象。请使用此元素向(zhn)的 XHTML 面d多媒体。此元素允许(zhn)规定插?HTML 文档中的对象的数据和参数Q以?qing)可用来昄和操作数据的代码?lt;object> 标签用于包含对象Q比如图像、音频、视频、Java applets、ActiveX、PDF 以及(qing) Flash。object 的初h取代 img ?applet 元素。不q由于漏z以?qing)缺乏浏览器支持Q这一点ƈ未实现。浏览器的对象支持有赖于对象cd。不q的是,L览器都使用不同的代码来加蝲相同的对象类型。而幸q的是,object 对象提供?jin)解x案。如果未昄 object 元素Q就?x)执行位?<object> ?</object> 之间的代码。通过q种方式Q我们能够嵌套多?object 元素Q每个对应一个浏览器Q?/p><h3>实例</h3><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">向HTML中添加对象:(x)<br /></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; ">1</span> <span style="color: #0000FF; "><</span><span style="color: #800000; ">object </span><span style="color: #FF0000; ">classid</span><span style="color: #0000FF; ">="clsid:F08DF954-8592-11D1-B16A-00C0F0283628"</span><span style="color: #FF0000; "> id</span><span style="color: #0000FF; ">="Slider1"</span><span style="color: #FF0000; ">   <br /></span><span style="color: #008080; ">2</span> <span style="color: #FF0000; ">width</span><span style="color: #0000FF; ">="100"</span><span style="color: #FF0000; "> height</span><span style="color: #0000FF; ">="50"</span><span style="color: #0000FF; ">></span><span style="color: #000000; ">  <br /></span><span style="color: #008080; ">3</span> <span style="color: #000000; ">  </span><span style="color: #0000FF; "><</span><span style="color: #800000; ">param </span><span style="color: #FF0000; ">name</span><span style="color: #0000FF; ">="BorderStyle"</span><span style="color: #FF0000; "> value</span><span style="color: #0000FF; ">="1"</span><span style="color: #FF0000; "> </span><span style="color: #0000FF; ">/></span><span style="color: #000000; ">  <br /></span><span style="color: #008080; ">4</span> <span style="color: #000000; ">  </span><span style="color: #0000FF; "><</span><span style="color: #800000; ">param </span><span style="color: #FF0000; ">name</span><span style="color: #0000FF; ">="MousePointer"</span><span style="color: #FF0000; "> value</span><span style="color: #0000FF; ">="0"</span><span style="color: #FF0000; "> </span><span style="color: #0000FF; ">/></span><span style="color: #000000; ">  <br /></span><span style="color: #008080; ">5</span> <span style="color: #000000; ">  </span><span style="color: #0000FF; "><</span><span style="color: #800000; ">param </span><span style="color: #FF0000; ">name</span><span style="color: #0000FF; ">="Enabled"</span><span style="color: #FF0000; "> value</span><span style="color: #0000FF; ">="1"</span><span style="color: #FF0000; "> </span><span style="color: #0000FF; ">/></span><span style="color: #000000; ">  <br /></span><span style="color: #008080; ">6</span> <span style="color: #000000; ">  </span><span style="color: #0000FF; "><</span><span style="color: #800000; ">param </span><span style="color: #FF0000; ">name</span><span style="color: #0000FF; ">="Min"</span><span style="color: #FF0000; "> value</span><span style="color: #0000FF; ">="0"</span><span style="color: #FF0000; "> </span><span style="color: #0000FF; ">/></span><span style="color: #000000; ">  <br /></span><span style="color: #008080; ">7</span> <span style="color: #000000; ">  </span><span style="color: #0000FF; "><</span><span style="color: #800000; ">param </span><span style="color: #FF0000; ">name</span><span style="color: #0000FF; ">="Max"</span><span style="color: #FF0000; "> value</span><span style="color: #0000FF; ">="10"</span><span style="color: #FF0000; "> </span><span style="color: #0000FF; ">/></span><span style="color: #000000; ">  <br /></span><span style="color: #008080; ">8</span> <span style="color: #000000; "></span><span style="color: #0000FF; "></</span><span style="color: #800000; ">object</span><span style="color: #0000FF; ">></span><span style="color: #000000; ">  </span></div><p> </p><p><strong style="color: #333333; font-family: Arial; line-height: 26px;">参?/strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"><a style="color: #336699; text-decoration: none;">http://www.w3school.com.cn/tags/tag_object.asp</a></p><h2>Windows中注册类IDQclsid</h2><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">“通用唯一标识W?#8221;(UUID)Q用于标?COM lg。每?COM lg?Windows 注册表中都有自己?CLSIDQ以便让其他应用E序加蝲?/p><h3>ActiveX控gCLSID的获?/h3><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">在编译完成每一个ActiveX控g之后Q系l会(x)生成ocx.html文gQ其中是调用该ActiveX控g的方法。该面中有一个标{֍为ObjectQ其中有一行则记录着该ocx文g的CLSIDQ如下:(x)<br /></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; ">1</span> <span style="color: #0000FF; "><</span><span style="color: #800000; ">object  <br /></span><span style="color: #008080; ">2</span> <span style="color: #800000; "> </span><span style="color: #FF0000; ">ID</span><span style="color: #0000FF; ">="TopoSceneViewer"</span><span style="color: #FF0000; ">    <br /></span><span style="color: #008080; ">3</span> <span style="color: #FF0000; "> WIDTH</span><span style="color: #0000FF; ">=800  <br /></span><span style="color: #008080; ">4</span> <span style="color: #0000FF; "> </span><span style="color: #FF0000; ">HEIGHT</span><span style="color: #0000FF; ">=600  <br /></span><span style="color: #008080; ">5</span> <span style="color: #0000FF; "> </span><span style="color: #FF0000; ">CLASSID</span><span style="color: #0000FF; ">="CLSID:321B84C8-3745-4AC9-BF04-55753F40CE63"</span><span style="color: #0000FF; ">></span><span style="color: #000000; ">   <br /></span><span style="color: #008080; ">6</span> <span style="color: #000000; "></span><span style="color: #0000FF; "></</span><span style="color: #800000; ">object</span><span style="color: #0000FF; ">></span><span style="color: #000000; "> </span></div><p> </p><h1><hr /></h1><h1>创徏cab文g</h1><pre style="white-space: pre-wrap; word-wrap: break-word; color: #333333; line-height: 26px; background-color: #ffffff;">cab文g中需要包含一pd文gQ其?inf文g?x)告诉IE如何d装这些文件。我们从.inf文g开?/pre><h2>怎么写inf</h2><pre style="white-space: pre-wrap; word-wrap: break-word; color: #333333; line-height: 26px; background-color: #ffffff;">INF文g的组成有?Sections)Q键(Key)和?value)三部分?nbsp;<br />关键节有 <br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; ">1</span> <span style="color: #000000; ">[Version]版本描述信息Q主要用于版本控制?nbsp;  <br /></span><span style="color: #008080; ">2</span> <span style="color: #000000; ">[Strings]字符串信息,用于帔R定义?nbsp;  <br /></span><span style="color: #008080; ">3</span> <span style="color: #000000; ">[DestinationDirs]定义pȝ路径信息?nbsp;  <br /></span><span style="color: #008080; ">4</span> <span style="color: #000000; ">[SourceDisksNames]指明源盘信息?nbsp;  <br /></span><span style="color: #008080; ">5</span> <span style="color: #000000; ">[SourceDisksNames]指明源盘文g名?nbsp;  <br /></span><span style="color: #008080; ">6</span> <span style="color: #000000; ">[DefaultInstall]开始执行安装?/span></div></pre><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">其它的节可以自定?/p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">最开始一般是[Version]区:(x) <br /></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; ">1</span> <span style="color: #000000; ">[Version]    <br /></span><span style="color: #008080; ">2</span> <span style="color: #000000; ">signature</span><span style="color: #000000; ">=</span><span style="color: #000000; font-weight: bold; ">"</span><span style="color: #000000; font-weight: bold; ">$XXXX$</span><span style="color: #000000; font-weight: bold; ">"</span><span style="color: #000000; ">    <br /></span><span style="color: #008080; ">3</span> <span style="color: #000000; ">AdvancedINF</span><span style="color: #000000; ">=</span><span style="color: #800000; ">2.0</span><span style="color: #000000; ">  </span></div><p> </p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">"Signature"定义了(jin)该INF文g需要运行在何种操作pȝ版本中。有$Windows NT$, $Chicago$, or $Windows 95$三个g选择Q一般选择$Chicago$卛_?/p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">接下来就是最重要的[Add.Code]区:(x) <br /></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; ">1</span> <span style="color: #000000; ">[Add</span><span style="color: #000000; ">.</span><span style="color: #000000; ">Code]    <br /></span><span style="color: #008080; ">2</span> <span style="color: #000000; ">Ctrl1</span><span style="color: #000000; ">.</span><span style="color: #000000; ">dll</span><span style="color: #000000; ">=</span><span style="color: #000000; ">C1Section    <br /></span><span style="color: #008080; ">3</span> <span style="color: #000000; ">Ctrl2</span><span style="color: #000000; ">.</span><span style="color: #000000; ">dll</span><span style="color: #000000; ">=</span><span style="color: #000000; ">Ctrl2</span><span style="color: #000000; ">.</span><span style="color: #000000; ">dll  </span></div><p><span style="background-color: #ffffff; color: #333333; font-family: Arial; line-height: 26px;">前面是要下蝲的文件名Q后面是对应q个文g的区域名Q可以是M名字Q不q一般都是和文g的名字相同,q样方便l护?/span></p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">q有需要注意是在[Add.Code]区出现的文g要根据依赖性进行排序,例如前面说的ctrl1.dll要依赖于ctrl2.dllQ则ctrl2.dll要出现在ctrl1.dll的前面。因为安装时是按照相反的序q行的,也就是说先安装ctrl2.dllQ然后才是ctrl1.dllQ哧哧,记清楚了(jin)Q不要搞反了(jin)?/p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">再接下来是各个文件的区域?nbsp;<br /></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; ">1</span> <span style="color: #000000; ">[Ctrl1</span><span style="color: #000000; ">.</span><span style="color: #000000; ">dll]    <br /></span><span style="color: #008080; ">2</span> <span style="color: #000000; ">file</span><span style="color: #000000; ">-</span><span style="color: #000000; ">win32</span><span style="color: #000000; ">-</span><span style="color: #000000; ">x86</span><span style="color: #000000; ">=</span><span style="color: #000000; ">thiscab    <br /></span><span style="color: #008080; ">3</span> <span style="color: #000000; ">RegisterServer</span><span style="color: #000000; ">=</span><span style="color: #000000; ">yes    <br /></span><span style="color: #008080; ">4</span> <span style="color: #000000; ">clsid</span><span style="color: #000000; ">=</span><span style="color: #000000; ">{</span><span style="color: #000000; ">..</span><span style="color: #000000; ">}    <br /></span><span style="color: #008080; ">5</span> <span style="color: #000000; ">DestDir</span><span style="color: #000000; ">=</span><span style="color: #000000; ">      <br /></span><span style="color: #008080; ">6</span> <span style="color: #000000; ">FileVersion</span><span style="color: #000000; ">=</span><span style="color: #800000; ">1</span><span style="color: #000000; ">,</span><span style="color: #800000; ">0</span><span style="color: #000000; ">,</span><span style="color: #800000; ">0</span><span style="color: #000000; ">,</span><span style="color: #800000; ">0</span><span style="color: #000000; ">   </span></div><p><span style="background-color: #ffffff; color: #333333; font-family: Arial; line-height: 26px;">[Ctrl1.dll]区域中的W一个file值告诉ie到哪里去得到q个dllQfile一共包括三个部分,W一部分是fileQ这个永q都是这L(fng)Q至目前来_(d)(j)Q第二部分告诉声明支持的OSQwin32表示windowsQmac是Ҏ(gu)MAC OX?jin);W三部分是CPUcdQ比如说x86?ppc (Power PC)?mips或者alpha?jin)?/span></p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">file的值可以取三个一个URL、ignore和thiscabQ如果是URL则说明到URL所在的位置MQ如果是ignore说明对于q种OS和CPUQ不需要下载这个文?ctrl1.dll)Q如果是thiscab很明昑ְ在当前的cab文g中了(jin)?/p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">接下来是RegisterServerQ可以取两个值yes和noQ如果ؓ(f)yes则说明ie要注册该dllQ如果是no׃必了(jin)?如果q里选yesQ则需要指定clsidQ否则clsid一行可以省略?</p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">再下来是DestDirQ它的值是dll要存到本地盘的位|,如果它的值是10Q则dll攑ֈ/Windows或?WinNT下;如果?1Q则攑ֈ/Windows/System或?WinNT/System32下;如果是空Q就是没有|(j)则会(x)攑ֈ/Windows或?WinNT下的Downloaded Program Files目录下;</p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">最后是FileVersionQ这个就比较明显?jin),说明了(jin)ctrl1.dll的版本号?/p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">其他部分详见参考文献?/p><h2>创徏cab文g</h2><ol style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"><li>如果需要创建cab文gQ首先需要Cabarc或者MakecabQ它们随着Cabinet SDK的安装就有了(jin)QCabinet SDK的下载地址?a style="color: #336699; text-decoration: none;">http://msdn.microsoft.com/workshop/management/cab/cabdl.asp</a></li><li>Cabarc可以创徏、查看或者解出cab里面的文Ӟ而Makecab则只可以用来创徏cab文g?/li><li>制作cab文g旉要将所有的相关文g都包含进去,可以通过DependsQVC自带的)(j)(g)查需要的文g。用inf文g这些东襉K写进厅R?/li><li>inf搞法Qinf文g描述cab中所有的ocx?qing)dll文gQinf通过一些命名区域来提供需要的信息?br /><pre style="white-space: pre-wrap; word-wrap: break-word;"><div bg_c-sharp"="" style="width: 647.453125px;"><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #000000; ">cabarc  N  ctrl1</span><span style="color: #000000; ">.</span><span style="color: #000000; ">cab  ctrl1</span><span style="color: #000000; ">.</span><span style="color: #000000; ">inf  ctrl1</span><span style="color: #000000; ">.</span><span style="color: #000000; ">dll  </span></div></div></pre>N表示要创Z个新的文Ӟctrl1.cab是创建的文g名,ctrl1.inf是cab的infQ后而是需要加到cab里的文gQ可以用通配W?nbsp;<br />然后可以将cab文g攑ֈ|页上了(jin)</li></ol><h2>参?/h2><ol style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"><li>如何~写INFQ?a style="color: #336699; text-decoration: none;">http://www.cnblogs.com/sbdx/archive/2006/12/14/whatisinffile.html</a></li><li>如何写cab相关的INFQ?a style="color: #336699; text-decoration: none;">http://docs.google.com/Doc?docid=0Aehzv88zbfy_ZGdncGdqczZfMjIxZHNnZDhtYzg&hl=zh_CN</a><strong></strong></li></ol><hr style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;" /><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"><strong>{֐</strong></p><h2>甌证书</h2><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">要用到makecert工具Q在VS2005目录下搜索可以搜索到?/p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">在命令提C中执?/p><pre style="white-space: pre-wrap; word-wrap: break-word; color: #333333; line-height: 26px; background-color: #ffffff;"><div bg_c-sharp"="" style="width: 687.046875px;"><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; ">1</span> <span style="color: #000000; ">makecert </span><span style="color: #000000; ">-</span><span style="color: #000000; ">sk myNewKey </span><span style="color: #000000; ">-</span><span style="color: #000000; ">r </span><span style="color: #000000; ">-</span><span style="color: #000000; ">n </span><span style="color: #000000; font-weight: bold; ">"</span><span style="color: #000000; font-weight: bold; ">CN=发证机关的名?OU=Certification,O=公司名字,E=name@email.com</span><span style="color: #000000; font-weight: bold; ">"</span><span style="color: #000000; "> </span><span style="color: #000000; ">-</span><span style="color: #000000; ">ss </span><span style="color: #0000FF; ">my</span><span style="color: #000000; "> myNew</span><span style="color: #000000; ">.</span><span style="color: #000000;">cer  <br /></span><span style="color: #008080; ">2</span> <span style="color: #000000; ">cert2spc myNew</span><span style="color: #000000; ">.</span><span style="color: #000000; ">cer myNew</span><span style="color: #000000; ">.</span><span style="color: #000000; ">spc  </span></div></div></pre><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">makecert具体使用帮助可参考创书的工具Qmakecert.exeQ?/p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;"><strong>{֐</strong></p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">要用到signtool工具Q也可以在VS2005目录下找到?/p><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">signtool工具有多U用模式,下面使用的是带UI的向导模式?br />在命令提C中执?/p><pre style="white-space: pre-wrap; word-wrap: break-word; color: #333333; line-height: 26px; background-color: #ffffff;"><div bg_c-sharp"="" style="width: 687.046875px;"><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; ">1</span> <span style="color: #000000; ">signtool  signwizard  </span></div></div></pre><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">之后q入signcodewizard:</p><pre style="white-space: pre-wrap; word-wrap: break-word; color: #333333; line-height: 26px; background-color: #ffffff;"><div bg_c-sharp"="" style="width: 687.046875px;"><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; ">1</span> <span style="color: #000000; ">step1</span><span style="color: #000000; ">.</span><span style="color: #000000; ">选择要签名的cab文g  <br /></span><span style="color: #008080; ">2</span> <span style="color: #000000; ">step2</span><span style="color: #000000; ">.</span><span style="color: #000000; ">自定?nbsp; <br /></span><span style="color: #008080; ">3</span> <span style="color: #000000; ">step3</span><span style="color: #000000; ">.</span><span style="color: #000000; ">从文件中选择 myNew</span><span style="color: #000000; ">.</span><span style="color: #000000; ">spc  <br /></span><span style="color: #008080; ">4</span> <span style="color: #000000; ">step4</span><span style="color: #000000; ">.</span><span style="color: #000000; ">csp中的U钥</span><span style="color: #000000; ">/</span><span style="color: #000000; ">密钥容器QmyNewKey  <br /></span><span style="color: #008080; ">5</span> <span style="color: #000000; ">step5</span><span style="color: #000000; ">.</span><span style="color: #000000; ">sha1  <br /></span><span style="color: #008080; ">6</span> <span style="color: #000000; ">step6</span><span style="color: #000000; ">.</span><span style="color: #0000FF; ">next</span><span style="color: #000000; ">  <br /></span><span style="color: #008080; ">7</span> <span style="color: #000000; ">step7</span><span style="color: #000000; ">.</span><span style="color: #000000; ">描述Q插件名U?/span><span style="color: #000000; ">/</span><span style="color: #000000; ">web</span><span style="color: #000000; ">:</span><span style="color: #000000; ">www</span><span style="color: #000000; ">.</span><span style="color: #000000; ">yourcompany</span><span style="color: #000000; ">.</span><span style="color: #000000; ">com  <br /></span><span style="color: #008080; ">8</span> <span style="color: #000000; ">step8</span><span style="color: #000000; ">.</span><span style="color: #000000; ">http</span><span style="color: #000000; ">://</span><span style="color: #000000; ">timestamp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">verisign</span><span style="color: #000000; ">.</span><span style="color: #000000; ">com</span><span style="color: #000000; ">/</span><span style="color: #000000; ">scripts</span><span style="color: #000000; ">/</span><span style="color: #000000; ">timstamp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">dll</span></div></div></pre><p style="color: #333333; font-family: Arial; line-height: 26px; background-color: #ffffff;">signtool 的具体用帮助可参考签名工?(SignTool.exe)<br /><br />本文转自Q?a style="font-family: verdana, 'courier new'; line-height: 21px;">http://blog.csdn.net/wangjingfei/article/details/5417028<br />其他</a>链接Q?a style="font-family: verdana, 'courier new'; line-height: 21px;">http://www.cnblogs.com/rushoooooo/archive/2011/06/22/2087542.html</a></p><img src ="http://www.shnenglu.com/wanghaiguang/aggbug/203013.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/wanghaiguang/" target="_blank">王v?/a> 2013-09-05 10:05 <a href="http://www.shnenglu.com/wanghaiguang/archive/2013/09/05/203013.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>打印U质书本地址http://www.shnenglu.com/wanghaiguang/archive/2013/01/06/197004.html王v?/dc:creator>王v?/author>Sun, 06 Jan 2013 02:22:00 GMThttp://www.shnenglu.com/wanghaiguang/archive/2013/01/06/197004.htmlhttp://www.shnenglu.com/wanghaiguang/comments/197004.htmlhttp://www.shnenglu.com/wanghaiguang/archive/2013/01/06/197004.html#Feedback0http://www.shnenglu.com/wanghaiguang/comments/commentRss/197004.htmlhttp://www.shnenglu.com/wanghaiguang/services/trackbacks/197004.html淘宝地址Qhttp://item.taobao.com/item.htm?id=15567575512

]]>
png转换bmp工具http://www.shnenglu.com/wanghaiguang/archive/2012/11/19/195371.html王v?/dc:creator>王v?/author>Mon, 19 Nov 2012 09:24:00 GMThttp://www.shnenglu.com/wanghaiguang/archive/2012/11/19/195371.htmlhttp://www.shnenglu.com/wanghaiguang/comments/195371.htmlhttp://www.shnenglu.com/wanghaiguang/archive/2012/11/19/195371.html#Feedback0http://www.shnenglu.com/wanghaiguang/comments/commentRss/195371.htmlhttp://www.shnenglu.com/wanghaiguang/services/trackbacks/195371.htmlPNG2BMP.EXE 可以png囄转换成bmp囄?/span>

下蝲地址

CZQPNG2BMP.EXE -X C:\\1.PNG -O 1.bmp -D c:\\

命o(h)参数如下Q?/span>

png2bmp, a PNG-to-BMP converter - version 1.62 (Sep 42005)
   Copyright (C) 1999-2005 MIYASAKA Masaru
   Compiled with libpng 1.2.8 and zlib 1.2.3.

Usage: png2bmp.exe [-switches] inputfile(s) 
   or:  | png2bmp.exe [-switches] | 

List of input files may use wildcards (* and ?)
Output filename is same as input filename, but extension .bmp

Switches (case-insensitive) :
   -A       Preserve alpha channel (save in 32bit ARGB BMP format)
   -B       Preserve alpha channel (save in 32bit Bitfield BMP format)
   -R       Convert transparent color to alpha channel (use with -A or -B)
   -O name  Specify name for output file
   -D dir   Output files into dir
   -E       Delete input files after successful conversion
   -T       Set the timestamp of input file on output file
   -Q       Quiet mode
   -L       Log errors to .\P2BERROR.LOG file
   -X       Disable conversion through standard input/output


]]>
gsoap工具生成代码http://www.shnenglu.com/wanghaiguang/archive/2012/11/16/195276.html王v?/dc:creator>王v?/author>Fri, 16 Nov 2012 09:14:00 GMThttp://www.shnenglu.com/wanghaiguang/archive/2012/11/16/195276.htmlhttp://www.shnenglu.com/wanghaiguang/comments/195276.htmlhttp://www.shnenglu.com/wanghaiguang/archive/2012/11/16/195276.html#Feedback0http://www.shnenglu.com/wanghaiguang/comments/commentRss/195276.htmlhttp://www.shnenglu.com/wanghaiguang/services/trackbacks/195276.html

1.介绍

 

    gSOAP~译工具提供?jin)一个SOAP/XML 关于C/C++ 语言的实玎ͼ从而让C/C++语言开发web服务或客L(fng)E序的工作变得轻松了(jin)很多。绝大多数的C++web服务工具包提供一lAPI函数cd来处理特定的SOAP数据l构Q这样就使得用户必须改变E序l构来适应相关的类库。与之相反,gSOAP利用~译器技术提供了(jin)一l透明化的SOAP APIQƈ与开发无关的SOAP实现l节相关的内容对用户隐藏h。gSOAP的编译器能够自动的将用户定义的本地化的C或C++数据cd转变为符合XML语法的数据结构,反之亦然。这P只用一l简单的API将用户从SOAPl节实现工作中解׃(jin)出来Q可以专注与应用E序逻辑的实现工作了(jin)。gSOAP~译器可以集成C/C++和Fortran代码Q通过一个Fortran到C的接口)(j)Q嵌入式pȝQ其他SOAPE序提供的实时Y件的资源和信息;可以跨越多个操作pȝQ语a环境以及(qing)在防火墙后的不同l织?/span>

 

    gSOAP使编写web服务的工作最化?jin)。gSOAP~译器生成SOAP的代码来序列化或反序列化C/C++的数据结构。gSOAP包含一个WSDL生成器,用它来ؓ(f)你的web服务生成web服务的解释。gSOAP的解释器?qing)导入器可以使用户不需要分析web服务的细节就可以实现一个客L(fng)或服务端E序。下面是gSOAP的一些特点:(x)

 

l        gSOAP~译器可以根据用户定义的C和C++数据l构自动生成W合SOAP的实例化代码?/span>

l        gSOAP支持WSDL 1.1, SOAP 1.1, SOAP 1.2, SOAP RPC ~码方式以及(qing) literal/document 方式.

l        gSOAP是少数完全支持SOAP1.1 RPC~码功能的工具包Q包括多l数l及(qing)动态类型。比如,一个包含一个基cd数的q程Ҏ(gu)可以接收客户端传来的子类实例。子cd例通过动态绑定技术来保持一致性?/span>

l        gSOAP 支持 MIME (SwA) ?nbsp;DIME 附g包?/span>

l        gSOAP是唯一支持DIME附g传输的工具包。它允许你在保证XML可用性的同时能够以最快的方式Q流方式Q传递近乎无大小限制的二q制数据?/span>

l        gSOAP 支持 SOAP-over-UDP?/span>

l        gSOAP 支持 IPv4 and IPv6.

l        gSOAP 支持 Zlib deflate and gzip compression (for HTTP, TCP/IP, and XML file storage)?/span>

l        gSOAP 支持 SSL (HTTPS)?/span>

l        gSOAP 支持 HTTP/1.0, HTTP/1.1 保持q接, 分块传输?qing)基本验证?/span>

l        gSOAP 支持 SOAP 单向消息?/span>

l        gSOAP 包含一?nbsp;WSDL 生成器,便于web服务的发布?/span>

l        gSOAP 包含一个WSDL解析?nbsp;(WSDL转换为gSOAP头文?Q可以自动化用户客户端及(qing)服务端的开发?/span>

l        生成可以单独q行的web服务?qing)客L(fng)E序?/span>

l        因ؓ(f)只需要很内存空_(d)所以可以运行在cMPalm OS, Symbian, Pocket PC的小型设备中?/span>

l        适用于以C或C++开发的web服务中?/span>

l        跨^収ͼ(x)Windows, Unix, Linux, Mac OS X, Pocket PC, Palm OS, Symbian{?/span>

l        支持序列化程序中的本地化C/C++数据l构?/span>

l        可以使用输入和输出缓冲区来提高效率,但是不用完全消息~冲来确定HTTP消息的长度。取而代之的是一个三相序列化Ҏ(gu)。这P?4位编码的囑փ可以在内存设备(如PDAQ中以DIME附g或其他方式传输?/span>

l        支持C++单承,动态绑定,重蝲Q指针结构(列表、树(wi)、图、@环图Q定长数l,动态数l,枚DQ?4?q制~码?6q制~码Q?/span>

l        不需要重写现有的C/C++应用。但是,不能用unionsQ指针和I指针来作ؓ(f)q程Ҏ(gu)调用参数的数据结构中元素?/span>

l        三相~组Q?Q分析指针,引用Q@环数据结构;2Q确定HTTP消息长度Q?Q将数据序列化位SOAP1.1~码方式或用户定义的数据~码方式?/span>

l        双相~组Q?QSOAP解释?qing)编码?Q分?#8220;forward”指针Q例如:(x)分解SOAP中的href属性)(j)?/span>

l        完整可定制的SOAP错误处理机制?/span>

l        可定制的SOAP消息头处理机Ӟ可以用来保持状态信?/span>

gsoap通常带有两个工具Q?wsdl2h ?soapcpp2?wsdl2h主要是用来生成头文g的,而soapcpp2主要是利用wsdl2h生成的头文g来生成C文g或C++文g?/span> 

以下是README.txt中示例:(x)

Example translation of WSDL to code in two steps:
$ wsdl2h -s -o calc.h http://www.cs.fsu.edu/~engelen/calc.wsdl
$ soapcpp2 calc.h

Windows下命令行q行Q?/span>

       wsdl2h.exe -o TestServices.h http://192.168.20.242/ClientUpdateWebService.asmx?WSDL
       soapcpp2 TestServices.h 


出现如下错误QCritical error: #import: Cannot open file "stlvector.h" for reading.你需要在gsoap\import下把q个文g拯q来?/span>

 wsdl2h
**  The gSOAP WSDL/Schema processor for C and C++, wsdl2h release 2.8.5
**  Copyright (C) 2000-2011 Robert van Engelen, Genivia Inc.
**  All Rights Reserved. This product is provided "as is", without any warranty.

**  The wsdl2h tool is released under one of the following two licenses:
**  GPL or the commercial license by Genivia Inc. Use option -l for details.

Usage: wsdl2h [-a] [-c] [-d] [-e] [-f] [-g] [-h] [-I path] [-i] [-j] [-k] [-l] [
-m] [-n name] [-N name] [-p|-P] [-q name] [-r proxyhost[:port[:uid:pwd]]] [-s] [
-t typemapfile] [-u] [-v] [-w] [-W] [-x] [-y] [-z#] [-_] [-o outfile.h] infile.w
sdl infile.xsd http://www 

-a      generate indexed struct names for local elements with anonymous types
-c      generate C source code
-d      use DOM to populate xs:any, xs:anyType, and xs:anyAttribute
-e      don't qualify enum names
-f      generate flat C++ class hierarchy
-g      generate global top-level element declarations
-h      display help info
-i      don't import (advanced option)
-Ipath  use path to find files
-j      don't generate SOAP_ENV__Header and SOAP_ENV__Detail definitions
-k      don't generate SOAP_ENV__Header mustUnderstand qualifiers
-l      display license information
-m      use xsd.h module to import primitive types
-nname  use name as the base namespace prefix instead of 'ns'
-Nname  use name as the base namespace prefix for service namespaces
-ofile  output to file
-p      create polymorphic types with C++ inheritance from base xsd__anyType
-P      don't create polymorphic types with C++ inheritance from xsd__anyType
-qname  use name for the C++ namespace of all declarations
-rhost[:port[:uid:pwd]]
        connect via proxy host, port, and proxy credentials
-s      don't generate STL code (no std::string and no std::vector)
-tfile  use type map file instead of the default file typemap.dat
-u      don't generate unions
-v      verbose output
-w      always wrap response parameters in a response struct (<=1.1.4 behavior)
-W      suppress warnings
-x      don't generate _XML any/anyAttribute extensibility elements
-y      generate typedef synonyms for structs and enums
-z1     compatibility with 2.7.6e: generate pointer-based arrays
-z2     compatibility with 2.7.15: qualify element/attribute referenced members
-_      don't generate _USCORE (replace with UNICODE _x005f)
infile.wsdl infile.xsd http://www list of input sources (if none: use stdin) 
soapcpp2
Usage: soapcpp2 [-1|-2] [-C|-S] [-T] [-L] [-a] [-b] [-c] [-d path] [-e] [-f N] [
-h] [-i] [-I path;path;] [-k] [-l] [-m] [-n] [-p name] [-s] [-t] [-u] [-v] [-
w] [-x] [-y] [infile]

-1      generate SOAP 1.1 bindings
-2      generate SOAP 1.2 bindings
-C      generate client-side code only
-S      generate server-side code only
-T      generate server auto-test code
-L      don't generate soapClientLib/soapServerLib
-a      use SOAPAction HTTP/WSA header to invoke server-side operations
-b      serialize byte arrays char[N] as string
-c      generate C source code
-dpath  use path to save files
-e      generate SOAP RPC encoding style bindings
-fN     file split of N XML serializer implementations per file (N>=10)
-h      display help info
-Ipath  use path(s) for #import
-i      generate C++ service proxies and objects inherited from soap struct
-j      generate C++ service proxies and objects that share a soap struct
-k      generate data structure walkers (experimental)
-l      generate linkable modules (experimental)
-m      generate Matlab(tm) code for MEX compiler
-n      use service name to rename service functions and namespace table
-pname  save files with new prefix name instead of 'soap'
-qname  use name as the C++ namespace of all declarations
-s      generate deserialization code with strict XML validation checks
-t      generate code for fully xsi:type typed SOAP/XML messaging
-u      uncomment comments in WSDL/schema output by suppressing XML comments
-v      display version info
-w      don't generate WSDL and schema files
-x      don't generate sample XML message files
-y      include C/C++ type access information in sample XML messages
infile  header file to parse (or stdin)          
其他相关链接Q?/strong> http://www.shnenglu.com/woaidongmao/archive/2008/05/28/51400.html


]]>
Wget.exe和cuil.exe下蝲地址http://www.shnenglu.com/wanghaiguang/archive/2012/09/05/189571.html王v?/dc:creator>王v?/author>Wed, 05 Sep 2012 08:23:00 GMThttp://www.shnenglu.com/wanghaiguang/archive/2012/09/05/189571.htmlhttp://www.shnenglu.com/wanghaiguang/comments/189571.htmlhttp://www.shnenglu.com/wanghaiguang/archive/2012/09/05/189571.html#Feedback0http://www.shnenglu.com/wanghaiguang/comments/commentRss/189571.htmlhttp://www.shnenglu.com/wanghaiguang/services/trackbacks/189571.htmlWget.exeQ?/span>http://gnuwin32.sourceforge.net/packages/wget.htm
curl.exe:    http://curl.haxx.se/download.html

wget.exe curl.exe下蝲命o(h)
curl.exe(g)下载文件是否正?fQwget.exe生成下蝲文档来检?/span>

Download  wget http://127.0.0.1/update_ex.txt -O d:\2.txt -o c:\\DownLoad.txt
Download  curl http://127.0.0.1/update_ex.txt -o d:\2.txt -f

]]>
Ļþ| ޾Ʒtvþþþþþþþ| þþ | þþ97ɫ| þպƷһ| ˾þAV| 99þ˾ƷۺϹۿ| 2019þþø456| þۺĻ| ٸþĻ| þþƷAV͵ | ŷƷ˿þþĻ| Ʒþþþþþapp| 99þ99ֻѵľƷ| þ99Ʒ99þ6| ޹Ʒþ98| þûƵ| þþþþ| žžþ99ۺһ| ҹþþþþþþõӰ| ݺ޾þþþþۺ| Ʒþþþþô| þ¶ݺɫ| þӰԺҹƬ| Ʒþùһ㽶| þ99Ʒ鶹 | 99þþƷһѿ| þþ뾫ƷպĦ | ˾þþƷ| ľƷ99þù| þùҹAVӰԺ| 鶹wwwþ| þþþþþۺ| ղƷþþһ| aѹۿþav| Ʒþþþþ| պŷһþþþ| þþþֻоƷ| ŷ˾þô߽ۺ69| ŷҹAŴƬþ| þ޾Ʒϵַ|