comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Calling C++ from IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Calling C++ from IDL [message #28044] Thu, 15 November 2001 23:38 Go to previous message
jicicuendez is currently offline  jicicuendez
Messages: 12
Registered: November 2001
Junior Member
Hi,

I am writing you all to see if you could help me because I am
trying to call C++ code from IDL (I am working in Sun solaris). We
compile the C++ with CC with extern "C" and produced the .so and when
we
use call_external in IDL, it does not find the C++ template library
which were used in my C++ classes. Is any way to tell IDL where to
look for this library, or can this be done with make_dll (I don't know
the compilation options). Could you help me somehow, maybe there are
other ways, I am a bit desperate. Anyone know the compilation options
if you want to compile with gcc.

The compilation options I used were:
CC -c -xarch=v9 otra.c
CC -G -xarch=v9 otra.o -o libotra.so

from IDL we do:
S=call_external('libotra.so','mas')


Thanks a lot,

Juan Cicuendez
[Message index]
 
Read Message
Read Message
Previous Topic: Re: ROT is ROTTEN
Next Topic: Re: Ellipse

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 10:57:03 PDT 2025

Total time taken to generate the page: 0.00456 seconds