上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 37 下一页
摘要: 操作系统:os x lion 10.7.4xcode: 4.5.2ios:6.0参考文章:http://www.cnblogs.com/rywx/archive/2012/10/05/2712647.html 在没有iDP的情况下,要想将程序放到iPhone上调试,并最终发布IPA用于分享,需要以下几个步骤:1.自己为自己颁发一个证书用于为生成的程序签名2.修改工程配置以及Xcode的配置文件和二进制文件以阻止其验证和签名3.通过自定义生成步骤,用伪造的证书为应用程序签名4.使用一点小trick来生成IPA文件1.创建证书创建证书的过程比较简单,打开实用工具-钥匙串访问。然后在菜单栏里点击钥匙 阅读全文
posted @ 2012-11-15 22:32 袁晓平 阅读(14172) 评论(8) 推荐(2) 编辑
摘要: ios版本:5.1os:lion 10.7.4 1)编译arm6makedirarm6lib./configure BSD-generic32 --prefix=/libs/openssl --openssldir=/libs/openssl更改文件MakeFileCC=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7CFLAG= -DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRAN 阅读全文
posted @ 2012-11-11 20:43 袁晓平 阅读(709) 评论(0) 推荐(0) 编辑
摘要: 有时候需要在一个页面A上点击打开另一个页面B ,在页面B关闭后刷新A页面,可以用如下的代码实现:var wnd_print = null;function commonProceed() { wnd_print = window.open('../Print.aspx?form_instance_id='+form_instance_id+'&template_id=' + template_id); window.setInterval(check_wnd_print,3000);}function check_wnd_print() { if (wn 阅读全文
posted @ 2012-10-31 15:44 袁晓平 阅读(216) 评论(0) 推荐(0) 编辑
摘要: ./configure \--cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc \--as='gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' \--sysroot=/Applications/Xcode.app/Contents/Developer/Platfo 阅读全文
posted @ 2012-10-25 21:22 袁晓平 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1、下载openssl源代码,我下载的是openssl-1.0.1c,解压源代码2、打开openssl-1.0.1c\INSTALL.w64,用记事本打开,里面解释了如何编译openssl3、下载ActivePerl,可以百度或到http://www.activestate.com/ActivePerl4、解压ActivePerl包,并将bin目录加入到Path环境里5、开始\应用程序\Visual Studio 2012\Visual Studio Tools\ Visual Studio Native x64 Tools Command6、cd openssl-1.0.1c,然后执行以下命 阅读全文
posted @ 2012-10-23 19:24 袁晓平 阅读(2314) 评论(0) 推荐(1) 编辑
摘要: 下截boost库,解压,不需要编译,配置属性》C/C++》常规》附加包含目录,添加boost解压后的目录地址,如下图,打开vs2012,新建一个控制台应用程序,源代码如下:#include <ostream>#include <boost/iostreams/device/file.hpp>#include <boost/iostreams/stream.hpp>namespace io = boost::iostreams;int main(){ io::stream_buffer<io::file_sink> buf("log.tx 阅读全文
posted @ 2012-10-20 21:08 袁晓平 阅读(1564) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Web;using System.Text;using System.Text.RegularExpressions;namespace DC { class DateConvertor { private static DateConvertor m_DateConvert = null; private char[] strChinese; private DateConvertor() { strChinese = new char[] { '〇','一','二','三', 阅读全文
posted @ 2012-10-10 18:23 袁晓平 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 在使用sosex调试时,如果想查看某一个方法的反汇编代码时,可以使用命令!muf,只需提供方法地址,如:0:029> !muf 000007ff001b064bWebApplication1._Default.Go(int, string): void tmp:int 000007ff`001b05d0 4c89442418 mov qword ptr [rsp+18h],r8 000007ff`001b05d5 89542410 mov dword ptr [rsp+10h],edx 000007ff`001b05d9 48894c2408 mov ... 阅读全文
posted @ 2012-09-22 21:35 袁晓平 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 0:029> !help mkSOSEX - Copyright 2007-2012 by Steve Johnson - http://www.stevestechspot.com/To report bugs or offer feedback about SOSEX, please email sjjohnson@pobox.commkUsage: !sosex.mk [-l] [-p] [-a] [-c] [-cc]Produces and displays a merged stack trace of managed and unmanaged frames.Local va 阅读全文
posted @ 2012-09-22 20:59 袁晓平 阅读(540) 评论(0) 推荐(0) 编辑
摘要: !mdtallows you to dump the fields of a given type by type name or to examine the fields of an object or value type instance. Not only can you examine the fields of an object or value type instance, but you can also examine an entire object graph by specifying the “-r” (recursive) switch. Want to exa 阅读全文
posted @ 2012-09-22 16:32 袁晓平 阅读(319) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 37 下一页