
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
I'm having some problems understanding return values from CORBA
Objects.
I have an .idl file like this;
,----
| module GNOME {
| module Bluetooth {
|
| struct Device {
| string name;
| string bdaddr;
| long deviceclass;
| };
| typedef sequence<Device> DeviceList;
|
| interface Manager : Bonobo::Unknown {
| void knownDevices (out DeviceList list);
| void discoverDevices();
| };
| };
| };
`----
Accessing void discoverDevices() is done by this Request:
,----
| Request reqDiscover = remote_obj._create_request(null,
| "discoverDevices", null, null);
`----
which works fine, because it doesn't take any parameters and it
doesn't return anything. :-)
But I ran into problems trying to get return values from
void knownDevices(out DeviceList list).
Could anyone tell me a proper way to do this?
Any help is appreciated! Thanks.
--
Morten
| <-- __Chronological__ --> | <-- __Thread__ --> |