September 2017
Beginner to intermediate
290 pages
6h 58m
English
The first thing we would run into, when attempting to tie something similar to the implementation of our core's interface to a platform such as .NET, is the way data is passed between managed code and native code. There's hardly any possibility for managed and native code to access the same memory areas. It is not impossible, but definitely is not healthy, hence we would have to pass data between the two domains--the managed domain and native domain. Luckily, there is a class in the .NET framework that allows us to perform such operations relatively painlessly--System.Runtime.InteropServices.Marshal. Since we are using a pointer to a structure containing pointers to exported procedures, we need to ...
Read now
Unlock full access