Passing unsigned int* from Native C++ to Managed C++
-
Hi, I am looking for passing unsigned int* to managed C++ app Ex: Native C++: void func(unsigned int * data) { //Here I have access to managed C++ class and I would like to know how to pass data to this class managedwrapper->managedFunc( need to pass data) } ref class ManagedWrapper { managedFunc(get the data here) { //how to get the data here. } } Thanks, Paul
-
Hi, I am looking for passing unsigned int* to managed C++ app Ex: Native C++: void func(unsigned int * data) { //Here I have access to managed C++ class and I would like to know how to pass data to this class managedwrapper->managedFunc( need to pass data) } ref class ManagedWrapper { managedFunc(get the data here) { //how to get the data here. } } Thanks, Paul
This article may help: Using C# from native C++ with the help of C++/CLI[^]
The difficult we do right away... ...the impossible takes slightly longer.
-
Hi, I am looking for passing unsigned int* to managed C++ app Ex: Native C++: void func(unsigned int * data) { //Here I have access to managed C++ class and I would like to know how to pass data to this class managedwrapper->managedFunc( need to pass data) } ref class ManagedWrapper { managedFunc(get the data here) { //how to get the data here. } } Thanks, Paul