X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11 Jun 2019 04:08 PM by  Ben Castellani
"Undefined" function when running IDL program from web app
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Ben Castellani



Basic Member


Posts:130
Basic Member


--
11 Jun 2019 04:08 PM
    We are attempting to run idl from a web program (all local).

    The batch file and IDL program command work perfectly unless they are started from the web page, then we get an error saying the file we are trying to run is not found.
    This is obviously a path definition error, but I don't know where to look.

    The batch file is
    idl -e "@c:\net\wwwroot\DataFiles\username\com_line1" >> Program_Run.txt
    The IDL file is
    ohello = obj_new("foo")
    ohello->open,'c:\net\wwwroot\DataFiles\username
    obj_destroy,ohello

    The error we get is
    % Attempt to call undefined procedure: 'FOO__DEFINE'.

    However running directly from command window it all works. Any suggestions will be greatly appreciated.
    You are not authorized to post a reply.