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

Home » Public Forums » archive » Re: the problem of using CALL_EXTERNAL()
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: the problem of using CALL_EXTERNAL() [message #65468] Tue, 03 March 2009 01:11
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Mon, 2 Mar 2009 18:39:02 -0800 (PST), mengran <mengran07@gmail.com>
wrote:

> Hello , everyone! I am new here.
> I just want to learn using the func of CALL_EXTERNAL(), after reading
> the demo that IDL provides(call_external_C), I write a simple test
> procedure, but the outcome of the test really confused me a lot. who
> can tell me why? Thank you a lot!

Read the part about passing parameters again. Your C function will
look like this (IDL prtable calling convention)

int IDL_C_TEST(int argc, void* argv[])
{
IDL_INT* px =(IDL_INT *) argv[0];
IDL_INT* py =(IDL_INT *) argv[1];
...
}
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: crazy question
Next Topic: How to define certain varibles and characters in IDL

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

Current Time: Fri Oct 10 11:35:38 PDT 2025

Total time taken to generate the page: 0.71991 seconds