2012年5月2日
摘要: 由于最近项目需要对swf文件进行分析,在网上找了不少资料,也参照了adobe官方发布的swf file format文档,但是并不是很明白。后来经过几天的努力,终于有所顿悟(可怜天生迟钝,领悟能力比较差吧,那只有勤能补拙,多花点时间了)。下面把这几 天的努力成果和大家分享一下(其中部分资料是整理自网友,不过由于分不清谁是原创,我也没法给出完整的原文地址了,部分是经过自己修正的)。在整理网友的 资料时,大部分人的都是在对没有压缩的swf文件进行分析的,弄得我自己在测试的时候怎么总感觉出不来结果。后来继续查资料才弄明白了怎么对swf文件进 行解压缩。自flash 6以后的版本,生成的swf文件都支 阅读全文
posted @ 2012-05-02 09:05 武胜-阿伟 阅读(3548) 评论(0) 推荐(1) 编辑
摘要: C#窗体内嵌外部程序(cmd.exe)的显示[DllImport("User32.dll ", EntryPoint = "SetParent")]private static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent);[DllImport("user32.dll ", EntryPoint = "ShowWindow")]public static extern int ShowWindow(IntPtr hwnd, int n 阅读全文
posted @ 2012-05-02 09:03 武胜-阿伟 阅读(954) 评论(0) 推荐(0) 编辑
摘要: publicstaticclass DataManager { #region 私有变量staticstring uri ="localhost:12345"; static IServer channel; #endregion#region 属性publicstaticstring URI { get { return uri; } set { uri = value; channel =null; ... 阅读全文
posted @ 2012-05-02 08:45 武胜-阿伟 阅读(195) 评论(0) 推荐(0) 编辑