摘要: //结构体的定义 [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)] public struct VGAStat { public int length; [MarshalAs(Unmana 阅读全文
posted @ 2017-08-26 14:38 JackMo 阅读(3603) 评论(1) 推荐(0) 编辑
摘要: SocketClientInit是C++里面定义的方法,通过EntryPoint = "?SocketClientInit@@YAHHHPAD@Z"指出这个函数的真正入口处,方法是在运行指令中输入 dumpbin -exports +dll 路径:dumpbin -exports C:\Users\ 阅读全文
posted @ 2017-08-26 14:10 JackMo 阅读(1050) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Xml;using System.Collectio 阅读全文
posted @ 2017-08-26 13:59 JackMo 阅读(6450) 评论(0) 推荐(0) 编辑