calling function in unmanaged dll with paramter char**
Managed C++/CLI
1
Posts
1
Posters
0
Views
1
Watching
-
hi all, i need to call a function in an unmanaged dll say ERR_CODE MyUnmanagedFn( char** param); the memory of the param is managed by the dll itself. the unmanaged code to use this is char* XX = NULL; MyUnmanagedFn(&XX); // this is working fine. this memory is allocated and released sometime later automatically by the dll. now, i an facing some problem calling this function from Managed c++. the ERR_CODE returned is NULL_PARAMETER. ideally means that the paramter is NULL. what is the equivalent MC++ code for this? ^-^ @|@ - redCat