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

Home » Public Forums » archive » Re: Using Callable IDL with added system routines from C++ (or C)
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 Callable IDL with added system routines from C++ (or C) [message #17286] Fri, 01 October 1999 00:00
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Jean-Francois PIOLLE wrote:
>
> Hi all,
>
> I have some functions, written in IDL, using some system routines
> (written in C)
> through DLM.
> When running these functions in IDL interactive mode, everything is OK.
>
> But when calling these IDL functions from a C++ program (using
> IDL_strExecute),
> the process fails (syntax error) when encountering a call to a system
> routine in
> IDL code.
>
> Has anybody any idea of what I should do? (my IDL_DLM_PATH variable is
> correctly set)
>
> T'x
>
> Jean-Francois Piolle
> --


It's certainly possible to do what you are attempting. The syntax error
usually means IDL has failed to locate or load the DLM.

Is it possible to simplify the problem so that you have a very simple
program where the IDL_ExecuteStr calls the external routine (in the DLM)
directly?
This may make it much easier to identify where the problem is.

One possiblity is licencing. I have found that if IDL is running in demo
mode (LM_LICENSE_FILE not set correctly) then DLMs don't work.


--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[Message index]
 
Read Message
Previous Topic: 'timer' routine enclosed
Next Topic: [newvie] VB and IDL DrawWidget Control Question ..

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

Current Time: Sat Nov 29 15:46:15 PST 2025

Total time taken to generate the page: 0.56338 seconds