Passing vector<double> from Native C++ to Managed C++
Hi, All,
I am trying to call a native C++ function from managed C++, which is supposed to return a vector of double. Unfortunately, it is always empty in release mode, although it works under debug mode.
I checked that it should not be empty. Anyone has some clue what is going on?
Thanks,
CR
Re: Passing vector<double> from Native C++ to Managed C++
Are you using p/invoke or mixed native/managed code?
Re: Passing vector<double> from Native C++ to Managed C++
yes, I call a Native C++ member function from Managed C++ to get a member variable, a vector of double.