RE: Problem with IDL to c++
"Swapnil Wale" <[email protected]>
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Message-ID | <[email protected]> |
Hi David,
Yes I am using Sun's RMIC complier. Have you come across someone
who has successfully implemented RMI-IIOP using Sun's RMIC compiler or is it
just in theory?
I have a long way to go with the project. So if you can give me some advise
I can think on migrating. Thank you and have a nice day.
-Swapnil-
-----Original Message-----
From: David Weir [mailto:[email protected]]
Sent: Monday, March 14, 2005 9:19 PM
To: Swapnil Wale
Cc: [email protected]
Subject: Re: [OB-Users] Problem with IDL to c++
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