Re: [opendx-users] DX Arrays of strings

2005-08-28 Thread Matt Genovese
So I have learned from David in some conversation that the TYPE_STRING DX array is setup as a single array of characters, versus an array of array of characters (array of strings). In other words, the array is of type char[numStrings * shape], and to find the appropriate string, the true

Re: [opendx-users] DX Arrays of strings

2005-08-27 Thread David Thompson
You need to create the array and then strcpy(data_array_ptr[index], str_value.c_str()); David Hello, Hopefully this is a question with a simple answer: I'd like to have a DX Array of strings (TYPE_STRING). When I use DXGetArrayData(...) to get the array, is the return type char* (pointer

[opendx-users] DX Arrays of strings

2005-08-26 Thread Matt Genovese
Hello, Hopefully this is a question with a simple answer: I'd like to have a DX Array of strings (TYPE_STRING). When I use DXGetArrayData(...) to get the array, is the return type char* (pointer to an array)? I'm not finding documentation on this. My code looks something like: char*