Re: other compilers (was CALL_EXTERNAL with Windows DLL) [message #19188] |
Mon, 06 March 2000 00:00 |
Randall Frank
Messages: 17 Registered: October 1999
|
Junior Member |
|
|
Brad,
Under Windows, a DLM is a very simple DLL with an external
text file that provides some informational glue to IDL. Your advice
still applies...
Brad Gom wrote:
>
>> Nando wrote:
>>
>>> I need to create DLM in windows 98 using the cygnus-gcc compilers.
>>>
>
> I misread DLM as DLL, which renders my previous advice useless! Sorry, I
> have no Idea about DLMs..
>
> Brad
--
rjf.
Randy Frank | ASCI Visualization
Lawrence Livermore National Laboratory | rjfrank@llnl.gov
B451 Room 2039 L-561 | Voice: (925) 423-9399
Livermore, CA 94550 | Fax: (925) 423-8704
|
|
|
|
Re: other compilers (was CALL_EXTERNAL with Windows DLL) [message #19202 is a reply to message #19201] |
Fri, 03 March 2000 00:00  |
Brad Gom
Messages: 49 Registered: August 1997
|
Member |
|
|
Nando wrote:
> I need to create DLM in windows 98 using the cygnus-gcc compilers.
>
Any windows95 and later compatible compiler will, in theory, allow you
to make a DLL file that can be used by IDL's CALL_EXTERNAL procedure.
You need to look in the 'External Development Guide' of the IDL help (or
the 'Advanced Development Guide' of the IDL 5.0 help) for what
constitutes an IDL-useable DLL.
As for the C programming, creating a DLL is not that complicated, and
there should be documentation for doing this with whatever compiler you
use- for example, see
http://www.geocities.com/Tokyo/Towers/6162/win32/index.html
for information about the GCC compiler.
Finally, a general-purpose Win32 programming text will have usefull
information about how to write DLLs. Charles Petzold's book
'Programming Windows 95' is the definitive source for most basic windows
programming techniques.
good luck
Brad Gom
|
|
|