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

Home » Public Forums » archive » Re: .lib C routines in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: .lib C routines in IDL [message #55245] Thu, 09 August 2007 13:24
b_gom is currently offline  b_gom
Messages: 105
Registered: April 2003
Senior Member
You will need to compile your static library (.lib) into a dynamic
library (.dll if using Windows), and make sure the functions use the
proper calling convention as described in the IDL external development
guide. You might also want to check out:
http://www.kilvarock.com/books/callingCfromIDL.htm
if you don't understand the process.

Brad

On Aug 8, 2:42 am, Patrizia <patriziabas...@hotmail.com> wrote:
> Hi,
> I'm trying to include some .lib files written in C in IDL.
> I tryed to include them using the CALL_EXTERNAL command of IDL but it
> doesn't work.
> Could someone give me some advices? Do I have to convert first
> the .lib files?
>
> Thanks,
>
> Patrizia
Re: .lib C routines in IDL [message #55280 is a reply to message #55245] Wed, 08 August 2007 04:37 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
You need .dll on windows and .so on unix OS. I suggest that you start out
with the demo code from the idl distro and narrow your problems. nobody here
can help you on the basis of the diagnostics "i have tried but it does not
work". So be specific and we can help. Good luck, Haje


"Patrizia" <patriziabasili@hotmail.com> wrote in message
news:1186562529.103116.284550@q75g2000hsh.googlegroups.com.. .
> Hi,
> I'm trying to include some .lib files written in C in IDL.
> I tryed to include them using the CALL_EXTERNAL command of IDL but it
> doesn't work.
> Could someone give me some advices? Do I have to convert first
> the .lib files?
>
> Thanks,
>
> Patrizia
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Assimilating three files considering their DOY and overpassing time
Next Topic: Re: Structure Containing Structure: question about parentheses

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

Current Time: Wed Oct 08 13:48:24 PDT 2025

Total time taken to generate the page: 0.00676 seconds