Hi,<br><br>How would I represent a non-NULL terminated string in the best way? In the C++ codebase I&#39;m working with, those kinds of strings are represented with a char * and a length field, put together in a struct. Unfortunately, omniidl seems to map the string type to a char *, and not a C++ string. This means that the IDL string datatype cannot be used for strings containing NULLs. The spontaneous workaround was to do this in IDL:<br>
<br>typedef sequence&lt;char&gt; StringData;<br><br>Will this be incredibly inefficient? Are there other collection-type datatypes in IDL, or is sequence the only one? Reason I&#39;m asking is because I think it&#39;s quite a hassle to use. A growable list would be a lot easier to work with. Just to re-iterate, here&#39;s my original question: how do you guys handle this scenario? Any help is appreciated.<br>
<br>/David<br><br>