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

Home » Public Forums » archive » Windows IDL DLM with Cygwin
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: Windows IDL DLM with Cygwin [message #44784 is a reply to message #44720] Wed, 13 July 2005 15:04 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
joey@swri.edu wrote:
> Is there a good reference on the difference between DLM and CALL_EXTERNAL?
> Someone told us to make a DLM and we did so I never researched the possibility
> of doing a CALL_EXTERNAL. Possibly I could convert my code from DLM to a
> CALL_EXTERNAL to keep the Windows people happy?

Read RSI's "External Development Guide". You should be able to find it
somewhere in the help system.

I have personal experience only with DLLs that are to be called via
CALL_EXTERNAL. This technique is described in the EDG under "Techniques
that don't use IDL's Internal API". It is reasonably easy to construct
such DLLs. The pitfall is that the information passed to and from the
DLL is not checked so:

- You will need to write an IDL wrapper program that knows the
data types to be passed and does the checking.

- If you get it wrong, IDL crashes.

It takes more work to write a DLM (Dynamically Loadable Modules) but its
integration into IDL is much better.


--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dilating at image boundaries
Next Topic: Re: Error in Object

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

Current Time: Sat Oct 11 20:42:04 PDT 2025

Total time taken to generate the page: 2.87957 seconds