01 2014 档案
7z 程序打包 Demo
摘要:最近准备做一个用户端 异常收集的程序 需要收集用户机器的程序日志和相关信息 准备打包发回来 所以研究了一下7Z 文件压缩 做一个笔记吧遇到的问题:1:VS2008 遇到 loadlibrary 以后显示 ERROR 6034解决方案#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicK
阅读全文
Python编码和Unicode
摘要:原文链接:ERIC MORITZ翻译:伯乐在线-贱圣OMG译文链接:http://blog.jobbole.com/50345/我确定有很多关于Unicode和Python的说明,但为了方便自己的理解使用,我还是打算再写一些关于它们的东西。字节流 vs Unicode对象我们先来用Python定义一个字符串。当你使用string类型时,实际上会储存一个字节串。12[ a ][ b ][ c ] = "abc"[ 97 ][ 98 ][ 99 ] = "abc"在这个例子里,abc这个字符串是一个字节串。97.,98,,99是ASCII码。Python 2
阅读全文
Create and Embed an Application Manifest (UAC)
摘要:http://msdn.microsoft.com/en-us/library/bb756929.aspx可以在VS2008中设置当执行exe时弹出提升管理员权限对话框:xxProperty->ConfigurationProperties->Linker->ManifestFile,把UACExcecutionLevel 项设置为 requireAdministrator 即可。更多请参考:http://subject.it168.com/article/articleview.aspx?id=734216ValueDescriptionCommentasInvokerTh
阅读全文
浙公网安备 33010602011771号