I have a C++ function that calls a pb nvo function that takes strings
passed by reference as some of the parameters.
Could someone please post C++ code needed to get this to work. Here
is what I have:

void MyClass::MyFunction(CString& parameter)
// additional code removed

pbstring mypbstringvar = session->NewString(parameter);


InvokeObjectFunction( /* code removed */ );

parameter.Format("%s", session->GetString(ci.pArgs->GetAt(0)-


My strings go in, but they don't come out changed the way powerbuilder
left them.


Jason Henderson