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

Home » Public Forums » archive » Re: Do I need a DLM Wrapper for this?
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: Do I need a DLM Wrapper for this? [message #37315 is a reply to message #37312] Wed, 10 December 2003 09:45 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Brian" wrote in message...

> I am somewhat new to IDL, so you can imagine how confusing I find the
notion
> of DLM wrappers...
>
> In any case, I have made several posts about the FFTW3 dll, and I am
getting
> closer to being able to get it working, but now I have come across DLMs,
and
> am wondering if I need one (and in general wondering under which
> circumstances I need one).

From what I see it looks like you will need to write a .dlm. I don't use
CALL_EXTERNAL but it looks like it can only return scalar simple types (and
strings) and I am guessing that fftw_plan is a structure? To complicate
matters, I don't see how you would actually get "out" into IDL since you'll
only see a pointer on the IDL side.

First thing I would do is contact Dick French. He posted in your previous
thread about FFTW and using it with IDL. I don't think he has built for
windows but usually these C .dlms port like butta (except on MacOS X it
seems). A number of us in this group can help you modify the makefile for
windows if needed.

The second thing I would do is get Ronn Kling's book "Calling C from IDL..."
available from www.kilvarock.com. This is a must have if you want to write
.dlms for IDL.

Good luck.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Resolving Built-ins and FORWARD_FUNCTION
Next Topic: EOS_SW source codes

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

Current Time: Fri Oct 10 00:54:17 PDT 2025

Total time taken to generate the page: 1.36201 seconds