K
Krzysztof Opa³a
Hi
I've got my CORBA application written in Borland C++ Builder, using
Visibroker. What I wanna do is get from server a set of strings (the number
of string is not constant). I was trying to do it with sequence but got some
problems. Here is the method i IDL:
long get_clerks_list (out workerseq loginnames);
where long is number of strings in loginnames
and
typedef sequence<long> workerseq;
Could anybody give me a simple example how to write a server function
(puting 'aaa', 'bbb', 'ccc' and returning it), and how to use it by client.
I'll compare it to my code and find out what's wrong.
Thanks in advance
Chris
I've got my CORBA application written in Borland C++ Builder, using
Visibroker. What I wanna do is get from server a set of strings (the number
of string is not constant). I was trying to do it with sequence but got some
problems. Here is the method i IDL:
long get_clerks_list (out workerseq loginnames);
where long is number of strings in loginnames
and
typedef sequence<long> workerseq;
Could anybody give me a simple example how to write a server function
(puting 'aaa', 'bbb', 'ccc' and returning it), and how to use it by client.
I'll compare it to my code and find out what's wrong.
Thanks in advance
Chris