Re: Problem with IDL to c++
David Weir <[email protected]>
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Organization | Object Oriented Concepts, Inc. - An IONA Company |
| Message-ID | <[email protected]> |
Hello Swapnil,
On Mon, Mar 14, 2005 at 04:12:57PM +0530, Swapnil Wale wrote:
> Hi,
> I am trying to develop a c++ client that uses RMI-IIOP to communicate
> with EJB. I have followed the example from
> http://java.sun.com/j2se/1.4.2/docs/guide/rmi-iiop/interop.html . I made
> some changes to the IDL but one file "Logger.cpp" is not getting complied. I
> guess this is a problem with namespace.
>
> ------------------------------------------Here is the
> code-------------------------------------
>
> namespace ejbinterop
> {
>
> ::OB::TypeCodeConst
> _tc_Logger("01dd48000e0000003b0000000100000027000000524d493a656a62696e746572
> 6f702e4c6f676""765723a303030303030303030303030303030300000070000004c6f676765
> 7200");
>
> } // End of namespace ejbinterop
>
> //
> // RMI:ejbinterop.Logger:0000000000000000
> //
> const char* ejbinterop::Logger::ids_[]
> ={"RMI:ejbinterop.Logger:0000000000000000","RMI:javax.ejb.EJBObject:00000000
> 00000000", 0
> };
>
> ------------------------------------------Error
> Message-------------------------------------------
>
> C:\Medipal\final\src\ejbinterop\Logger.cpp(39) : error C2039: 'Logger' : is
> not a member of 'ejbinterop'
>
> -Swapnil-
The IDL file that you modified, was this generated using Sun's RMIC
compiler? We have seen issues in the past with this tool; it seems to
generate some non-standard IDL code.
Cheers,
Dave
--
David Weir
Team Orbacus - Your CORBA Source
E-Mail: [email protected]
Phone: (709) 738-3725 x20
WWW: http://www.orbacus.com
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html