A More Complex Example
// native declaration typedef struct _PAIR { DWORD Val1; DWORD Val2; } PAIR, *PPAIR; // compiled with /clr, use of #pragma managed/unmanaged can lead to double thunking; // avoid by using a stand-alone .cpp with .h includes // this would be located in a .h file. template<> inline CLR_PAIR^ marshal_asRead more about this topic: Platform Invocation Services, Examples
Famous quotes containing the word complex:
“The money complex is the demonic, and the demonic is Gods ape; the money complex is therefore the heir to and substitute for the religious complex, an attempt to find God in things.”
—Norman O. Brown (b. 1913)