"rdh" <ro***********@hotmail.comwrote in message
news:11**********************@b75g2000hsg.googlegr oups.com...
I'm trying to call a C++ DLL with a parameter that is a
vector<string>.
The C# program Marshaling keeps throwing an exception.
any thoughts?
You can't pass std lib objects across module (exe, dll ...) boundaries and certainly not
across managed/unmanaged code boundaries.
You need to change the function in such way that it takes a C style array.
Willy.