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

Home » Public Forums » archive » Re: Call_External problem under win95
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: Call_External problem under win95 [message #11260] Wed, 18 March 1998 00:00
Reinhold Schaaf is currently offline  Reinhold Schaaf
Messages: 10
Registered: March 1998
Junior Member
<HTML>
<TT></TT>&nbsp;<TT></TT>

<P><TT>c.c.mclean@ed.ac.uk wrote:</TT>
<BLOCKQUOTE TYPE=CITE><TT>Hi,</TT><TT></TT>

<P><TT>I seem to be having problems getting the call_external example (dlltst32)</TT>
<BR><TT>in IDL 5 to work.</TT><TT></TT>

<P><TT>If I compile the c source using either Borland C 4.5 or Visual C
5.0,</TT>
<BR><TT>the DLL is created OK, but when it is called from the IDL program
I get an</TT>
<BR><TT>error message:-</TT><TT></TT>

<P><TT>&nbsp;"CALL_EXTERNAL: Entry TestOne not found in DLL dlltst32.dll"</TT><TT></TT>

<P><TT>I seem to remember from the newsgroup that I need to create a .DEF
file</TT>
<BR><TT>for some obscure reason, but don't have a clue how to create it.</TT><TT></TT>

<P><TT>Any advice for a novice windows programmer would be most welcome.</TT><TT></TT>

<P><TT>Thanks</TT><TT></TT>

<P><TT>Calum.....</TT><TT></TT>

<P><TT>-----== Posted via Deja News, The Leader in Internet Discussion
==-----</TT>
<BR><TT><A HREF="http://www.dejanews.com/">http://www.dejanews.com/</A>&nbsp;&nbsp;
Now offering spam-free web-based newsreading</TT></BLOCKQUOTE>
<TT></TT>

<P><TT>Hi,</TT><TT></TT>

<P><TT>there is a correct dlltst32.def file in IDL50\external\sharelib.
In case</TT>
<BR><TT>you deleted it, I include it:</TT><TT></TT>

<P><TT>-------------------</TT><TT></TT>

<P><TT>LIBRARY&nbsp;&nbsp; dlltst32</TT>
<BR><TT>DESCRIPTION&nbsp; 'Demonstrates use of IDL's CALL_EXTERNAL routine'</TT><TT></TT>

<P><TT>CODE&nbsp;&nbsp; PRELOAD MOVEABLE DISCARDABLE</TT>
<BR><TT>DATA&nbsp;&nbsp; PRELOAD MOVEABLE SINGLE</TT><TT></TT>

<P><TT>EXPORTS&nbsp;&nbsp; TestOne&nbsp; @1</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; TestTwo&nbsp; @2</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; TestThree @3</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; TestFour @4</TT><TT></TT>

<P><TT>---------------------</TT><TT></TT>

<P><TT>Have fun,</TT><TT></TT>

<P><TT>Reinhold</TT><TT></TT>

<P><TT>--</TT>
<BR><TT> ************************************************************ * </TT>
<BR><TT>&nbsp;Reinhold Schaaf</TT>
<BR><TT>&nbsp;Ettighofferstr. 22</TT>
<BR><TT>&nbsp;53123 Bonn</TT>
<BR><TT>&nbsp;Germany</TT><TT></TT>

<P><TT>&nbsp;Tel.:&nbsp; 0049-228-625713</TT>
<BR><TT>&nbsp;Email: schaaf@astro.uni-bonn.de</TT>
<BR><TT> ************************************************************ * </TT>
<BR>&nbsp;</HTML>
[Message index]
 
Read Message
Previous Topic: [PV-WAVE] input line to long
Next Topic: printing to postscript with PV_WAVE

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

Current Time: Fri Oct 10 18:19:36 PDT 2025

Total time taken to generate the page: 0.71437 seconds