Managed c++ std::string not accessible in unmanaged c++
- by Radhesham
In unmanaged c++ dll i have a function which takes constant std::string as argument
Prototype : void read ( const std::string &imageSpec_ )
I call this function from managed c++ dll by passing a std::string.
When i debug the unmanaged c++ code the parameter imageSpec_ shows the value correctly but does not allow me to copy that value in…