06 2016 档案

摘要:1、代码: 2、 阅读全文
posted @ 2016-06-02 21:51 csskill 阅读(112) 评论(0) 推荐(0)
摘要:参考网址:http://bbs.csdn.net/topics/390494917 Assembly assembly = Assembly.LoadFrom(...); Type t = assembly.GetType("AA.BB"); //获取类型BB 阅读全文
posted @ 2016-06-02 16:07 csskill 阅读(122) 评论(0) 推荐(0)
摘要:参考网址:http://stackoverflow.com/questions/429552/can-i-get-the-signature-of-a-c-sharp-delegate-by-its-type 1、我的测试代码: 打印信息: 2、 3、 阅读全文
posted @ 2016-06-02 16:04 csskill 阅读(278) 评论(0) 推荐(0)
摘要:1、函数委托 类似于 C++中函数指针(∵我不知道这两货是否真的完全一样,∴用的是"类似于") 2、声明函数委托 方法类似于 声明函数指针 3、我的代码: 3.1、VC的DLL代码: 3.1.1、def文件内容: 3.2、C#代码: ZC: 测试感受: ZC: (1)、C#调用DLL中的函数,貌似默 阅读全文
posted @ 2016-06-02 13:56 csskill 阅读(286) 评论(0) 推荐(0)
摘要:1、 Rectangle rt = new Rectangle(); MessageBox.Show(Marshal.SizeOf(rt).ToString()); 2、sizeof 不会用... 3、 阅读全文
posted @ 2016-06-02 13:42 csskill 阅读(241) 评论(0) 推荐(0)
摘要:1、C# http://blog.csdn.net/wdspringrain/article/details/6718800 2、Java http://www.iteye.com/topic/1127319 3、C++ http://blog.csdn.net/wudishine/article/ 阅读全文
posted @ 2016-06-01 22:16 csskill 阅读(185) 评论(0) 推荐(0)
摘要:[DllImport("KERNEL32.DLL", EntryPoint="MoveFileW", SetLastError=true, CharSet=CharSet.Unicode, ExactSpelling=true, CallingConvention=CallingConvention 阅读全文
posted @ 2016-06-01 13:18 csskill 阅读(203) 评论(0) 推荐(0)