|
From: Peter M. <me...@iw...> - 2001-10-04 14:14:45
|
> "string" is an MFString, so you need to use a VrmlMFString when setting > it. > Braden McDaniel e-mail: <br...@en...> Hi again, thanks for the reply, I fixed that, but it still doesn't work. Here's my new, ugly code (I admit I am not very good when it comes to const char * const* datatypes): const char* valuefield[10]; const char lala[]="hello"; const char lala2[]="hello2"; valuefield[0]=lala; valuefield[1]=lala2; VrmlMFString fld(2, valuefield); //this test works: fld seems to be OK and I can retrieve hello and hello2 const char*const * valuetestfield; valuetestfield=fld.get(); //but this doesn't move anything... m_pVRMLNode->setField(strfield, fld); Any hints are, as always, very welcome. I am working with version 0.10.1 on Windows. Peter |