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

Home » Public Forums » archive » Re: Using C++ classes with 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
Re: Using C++ classes with IDL [message #16380] Fri, 23 July 1999 00:00 Go to previous message
ushomirs is currently offline  ushomirs
Messages: 14
Registered: May 1993
Junior Member
i presume you would do the same thing as when linking with C,
but declare your C++ functions as extern "C", i.e.

extern "C" void foo(...);

calling a class member function would be trickier.

greg

In article <3795FB3B.DECDAD80@nodc.noaa.gov>,
Michael Ford <mford@nodc.noaa.gov> wrote:
> Has anyone ever linked C++ with IDL? I would like some advice on how
to
> do this. The call external instructions talk about linking C, but not
> C++.
>
> What do I do in my IDL program?
> Do I need a middle program?
> What do I have to do to my C++ classes, if anything?
>
> Thanks
>
> Mike Ford
> NOAA/NODC
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: How can i get SCR_XSIZE, SCR_YSIZE of WIDGET_BASE
Next Topic: Re: text object graphics

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

Current Time: Wed Oct 08 15:34:59 PDT 2025

Total time taken to generate the page: 0.00387 seconds