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

Home » Public Forums » archive » Re: Syntax for R. Franks extproc_define() in IDL 6.1
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: Syntax for R. Franks extproc_define() in IDL 6.1 [message #43738 is a reply to message #43736] Fri, 22 April 2005 14:33 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
I can't really help much but I have to ask if you are using a
pre-compiled .dlm or did you compile it yourself? Just wondering since
I know this .dlm has been around for a while and I would expect issues
if you were using a precompiled .dll that is packaged with the library.

See. Not very helpful, but we have to start with the obvious first :)

-Rick


darmstr@sandia.gov wrote:
> OK, nobody attempted my first question about using the extproc_define()
> procedure on the Tektronix scope - not specific enough I suppose. I
> think I've narrowed it down a bit as I'm now beyond the
> "crashes-IDL-everytime-I-try-it" stage. The problem may be a simple
> matter of correct syntax, but I'm not sure. If I enter
>
> result=EXTPROC_DEFINE("mysin","msvcrt.dll","sin","d(d) ",/CDECL)
>
> exactly as shown from the examples in the readme file at IDL's command
> prompt, IDL crashes. If I'm doing something totally stupid, ridicule is
> perfectly acceptable, as long as I get things to work in the end.
>
> For whatever it's worth, here are a few other variants and their
> results:
>
> IDL> test=EXTPROC_DEFINE(mysin,'msvcrt.dll',sin,d(d),/CDECL)
> % Variable is undefined: D. (no surprise here)
> % Execution halted at: $MAIN$
>
> IDL> test=EXTPROC_DEFINE(mysin,'msvcrt.dll',sin,'d(d)',/CDECL)
> % Internal error: bad param in IDL_KWCleanup.
> % Execution halted at: $MAIN$
>
> Pretty much any other way one can enter the above - using single
> quotes, double quotes, combinations of ' and ", variables predefined as
> strings (e.g., then enter: err =
> EXTPROC_DEFINE(idlname,dllfilename,dllfuncname,funcsig)[,/CD ECL]), or
> whatever else, crashes IDL.
>
> Any ideas?
>
> Darrell
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: timers without widgets
Next Topic: Re: NaN problems

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

Current Time: Mon Dec 01 05:18:50 PST 2025

Total time taken to generate the page: 2.16062 seconds