Re: Corba_string object
- From: Frank Rehberger <Frank Rehberger web de>
- To: some one <solrak29 yahoo com>
- Cc: Jan Kratochvil <lace jankratochvil net>, orbit-list gnome org
- Subject: Re: Corba_string object
- Date: Sat, 15 Nov 2003 21:48:42 +0100
some one wrote:
>Thanks for your reply.
>
>So for a CORBA_string object I should use first the
>allocate function and then the dup function?
>
>struct employee myemp;
>myemp.name = CORBA_string_alloc(7);
>myemp.name = CORBA_string_dup("someone");
>
No extra memory allocation, only call:
myemp.name = CORBA_string_dup("someone");
Here ought to be some sample code working with strings:
http://www.gnome.org/projects/ORBit2/orbit-docs/orbit/book1.html
Best regards, Frank
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]