how can my application call a method written in c++ using CORBA
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, January 30, 2002 02:04 AM

I have this application which should talk to a c++ method usign CORBA, is there any way that i can do this, i have the corresponding API at the c++ side but i am not able to call those methods directly


I need your help in this regard, and also information about the CORBA classes which i need to have in order to get this work done


Regards
Sunil

Re: how can my application call a method written in c++ using CORBA

Posted By:   Anonymous  
Posted On:   Tuesday, February 5, 2002 11:19 AM

I suppose that you want to call a C++ Method from a CORBA class written in Java, right? If yes, the aswer is simple.. you must to use a ORB wich have C++ Mapping (MICO, www.mico.org, is one of these - and it's opensource), and you must to write an appropriate IDL file wich contain your method, compile it in way to obtain C++ wrapper classes, implement your method, ad so on :) If you want, you can download a free orb (for non commercial use, if i remember correctly ;-) called Engine Room CORBA (www.engroom.com), wich have both Java and C++ IDL mapping, in this way you can do very cross-language CORBA experience ;-)
Regards.
About | Sitemap | Contact