Expert C++/CLI pp 173-201 | Cite as

Mixing the Managed and the Native Type System


Using the step-by-step approach explained in Chapter 7, you can inject managed code parts into a C++ project. Due to the source code compatibility, you can easily call from native code to managed code by just declaring the functions you want to call. However, in the samples discussed so far, the managed functions called from native code and the native functions called from managed code have had void as a return type, and no arguments. For nontrivial scenarios, functions with less simplistic signatures are obviously needed.


Migration Tempo 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Marcus Heege 2007

Personalised recommendations