Reaching an attribute



Hello,
I have a problem trying to access to an attribute of the client object
(the object that results from the command "disp_client=
CosNaming_NamingContext_resolve(name_srv,disp_name, &ev);" ).
This object has 2 attributes: one  ("MsgQueue") is a sequence of structs
and I want to use its "_lenght" member.
I tried with this code: "i=disp_client->MsgQueue._length;" but the
compiler says that MsgQueue is not a member of the struct.
I tried also with "i=disp_client->attr_MsgQueue._length;" but with the
same answer.
Does anyone know the exact way to access to this attribute?
Thank you very much
Matteo






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]