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

Home » Public Forums » archive » Re: chi^2 minimisations & calling 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: chi^2 minimisations & calling c [message #36697 is a reply to message #36692] Tue, 14 October 2003 14:46 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Rick Towler" wrote...
>
> As much as I think that every serious IDL programmer (all 7 of us) should
> master the dlm, I don't think you would need to go thru the trouble unless
> you view this as a fun exercise. CALL_EXTERNAL should work with minimal
> effort but it does assume that your functions use the argc-argv calling
> convention and this might be where you are getting hung up.

A kind person from RSI informed me that the AUTO_GLUE keyword can work
wonders if your function doesn't follow the argc-argv calling convention.
Given the function prototype of your chi^2 routine it should be easy to use
CALL_EXTERNAL with the AUTO_GLUE keyword.

AUTO_GLUE relies on MAKE_DLL so you'll need to make sure your !MAKE_DLL
system variable is set up correctly.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problems with 3D-Plot
Next Topic: How to get actual widget size?

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

Current Time: Wed Oct 08 19:20:00 PDT 2025

Total time taken to generate the page: 0.00422 seconds