[omniORB] FW: Sequence of Strings
Tom Wnuk
twnuk@earthlink.net
Tue, 24 Nov 1998 06:29:35 -0800
I hope this is the correct method to post a message to this list. I =
didn't receive any instructions yet.
When I perform the following:
IDL:
Typedef sequence<string> myStringSeq;
Implementation:
{
...
myStringSeq strSeq;
strSeq.length(1);
char* pStr =3D CORBA::string_dup("test");=20
=09
strSeq[0] =3D pStr; // Compile Error
// no char* operand on right side of =3D (something like that)
I've tried all types of variations but am unable to get it to work =
correctly. If I use *pStr I can compile but then I only get "" for =
data.
Thanks
Tom
Tom Wnuk
twnuk@earthlink.net