[ace-users] Naming Service problem
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Sat Sep 22 11:45:56 CDT 2007
Hi Dhanya,
>> >Is CosNaming::Name name;
>> >name.length(2);
>>
>> >is different from
>> >CosNaming::Name name(2);
>>
>> Yes.
>
>I changed the code to
>CosNaming::Name name (2);
>
>But still same exception
>InvalidName (IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0)
Did you do this:
CosNaming::Name name (2);
name.length (2);
Make sure you read the material I recommended before you go any
further or ask any more questions. There are also lots of examples of
this stuff in the TAO tests and examples.
Thanks,
Doug
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.schmidt at vanderbilt.edu
More information about the Ace-users
mailing list