Hi,
I need to use external C++ class library which usest _bstr_t string as
file name type. I'm writing a .NET wrapper with managed C++ for the
class so that I can access the class from Labview.
Now I have a problem. I'd like to pass string (filename) from labview
to a method using the .NET invoke node. I don't know which C++
string type corresponds to labview string type in the Labview .NET
invoke nodes. At least the following doesn't work.
#include <string>
using namespace std;
bool Classname::FileOpen(string* eegfile)
{
_bstr_t bf=eegfile->c_str();
...
}
nor the following
bool Classname::FileOpen(char* eegfile)
{
_bstr_t bstrfile(eegfile);
...
}
Message Edited by Tomi M on 11-21-2005 05:48 PM
--
Tomi Maila