Fork me on GitHub
摘要: 1. Introduction.1.1 In parts 1 through 3 of this series of articles, I have thoroughly discussed the techniques for exchanging arrays between managed and unmanaged code by way of SAFEARRAYs.1.2 The kn... 阅读全文
posted @ 2017-11-30 11:20 虫子樱桃 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction.1.1 In part 1 of this series of articles, I demonstrated how to transfer managed arrays to unmanaged code as SAFEARRAYs. The transfer was single-directional “into” the unmanaged functi... 阅读全文
posted @ 2017-11-30 11:19 虫子樱桃 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction.1.1 In part 1 of this series of articles, I explained how managed arrays may be transferred to unmanaged code as a SAFEARRAY.1.2 In part 1, the SAFEARRAY was passed to unmanaged code a... 阅读全文
posted @ 2017-11-30 11:18 虫子樱桃 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction.1.1 I have previously written about exchanging SAFEARRAYs of managed structures with unmanaged code via COM interop.1.2 In this new series of articles, I shall expound on the exchange ... 阅读全文
posted @ 2017-11-30 11:17 虫子樱桃 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction.1.1 In part 1 of this series of blogs we studied how to pass a managed structure (which contains strings) to unmanaged code. The structure was passed as an “in” (by-value) parameter, i... 阅读全文
posted @ 2017-11-30 11:06 虫子樱桃 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction.1.1 In part 1 of this series of blogs we studied how to pass a managed structure (which contains strings) to unmanaged code. The structure was passed as an “in” (by-value) parameter, i... 阅读全文
posted @ 2017-11-30 11:05 虫子樱桃 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction.1.1 Managed structures that contain strings are a common sight. The trouble is that managed strings are non-blittable. This means that they do not have a single common representation i... 阅读全文
posted @ 2017-11-30 11:03 虫子樱桃 阅读(497) 评论(0) 推荐(0) 编辑
摘要: Delphi DataTypeC# datatypeansistringstringbooleanboolbytebytecharcharcompdoublecurrencydecimaldoubledoubleextendeddoubleint64longint32intint16shortintegerintlongintintlongworduintolevariantobjectpchar... 阅读全文
posted @ 2017-11-28 09:39 虫子樱桃 阅读(6357) 评论(0) 推荐(2) 编辑
摘要: Q:i want to pass my List as parameter using my eventpublic event EventHandler _newFileEventHandler; List _filesList = new List();public void startListener(string directoryPath){ FileSystemWatche... 阅读全文
posted @ 2017-11-23 21:40 虫子樱桃 阅读(260) 评论(1) 推荐(0) 编辑
摘要: Controller中的代码如下var bingo = new Web1.Models.Bingo() { Title = "测试", desc = "嘻嘻", StarTime = DateTime.Now, EndTime = DateTime.Now.... 阅读全文
posted @ 2017-11-16 21:41 虫子樱桃 阅读(2119) 评论(0) 推荐(1) 编辑