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

Home » Public Forums » archive » Summary: failed call_external under Windows NT
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
Summary: failed call_external under Windows NT [message #10895] Mon, 09 February 1998 00:00
David Kastrup is currently offline  David Kastrup
Messages: 33
Registered: February 1998
Member
Well, I though it might be nice to summarize the answers to my
request about call_external failing after 50-odd calls because of
exhausted memory under WinNT (IDL 5.03 running under Windows NT 4).

Here is the summary of all responses I received:

----

----

That's all folks. Unfortunately, none of the suggestions worked.
Anyhow, I've been able to find the problem myself after a lot of
hassle: I had been using a line looking like
s = call_external('r:/dll/dummy.dll','dummy');
It turns out that this must be
s = call_external('r:\dll\dummy.dll','dummy');

The ugly thing is that IDL *will* call the routine without
complaining. It will just not remember that it has alrady loaded the
DLL, and will load another copy of it the next time. After you filled
your memory with 50 copies of the DLL, it gives up.

A colleague of mine remarked that this might be the "solution" to a
question once appearing on this newsgroup, namely how to make IDL use
a newly-compiled DLL instead of an older copy, without restarting it.
Very funny.

--
David Kastrup Phone: +49-234-700-5570
Email: dak@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209
Institut f�r Neuroinformatik, Universit�tsstr. 150, 44780 Bochum, Germany
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Surface normals with shade_volume
Next Topic: Re: transforming an array where some values can't

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

Current Time: Wed Oct 08 19:59:07 PDT 2025

Total time taken to generate the page: 0.00450 seconds