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

Home » Public Forums » archive » call_external won't release dll
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
call_external won't release dll [message #12917] Fri, 11 September 1998 00:00
hdsfkj is currently offline  hdsfkj
Messages: 12
Registered: March 1998
Junior Member
Hi

I'm new to IDL and I'm using 5.1 . I'm writing
an IDL wrapper for a bunch of c functions to
control some hardware. My problem is I haven't been
able to figure out how to get IDL to release
the dll after a run so that my compiler can write
a new version when I go back and make changes to the dll.
I end up being forced to close the IDL development
environment to get it to release after a call to
call_external. Here is my IDL code below, is there some kind
of 'dllclose' call to release d:\idlpvint\idlpvinterface.dll?
Thanks in advance....

Donald Green
dfg@mit.edu

; $Id: idlpvinterface.pro,v 1.0 9/11/98 $

pro idlpvinterface
; this program tests the functions defined for IDL interface
; to the Pixel Vision Camera and associated hardware
; CALL_EXTERNAL is used as the interface into the idlpvinterface.dll

PRINT, "This program tests CALL_EXTERNAL using idlpvinterface.DLL"

w = 1048 ;width of image
h = 1026 ; height of image

Image = LONARR(10) ;create empty array for image
Image[0] = 20

lResult =
CALL_EXTERNAL('d:\idlpvint\idlpvinterface.dll','CaptureImage ',Image,w,h)
PRINT, "CaptureImage complete."
end
[Message index]
 
Read Message
Previous Topic: [Q] extracting value from a structure ...
Next Topic: IDLRPC and widgets

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

Current Time: Sun Oct 12 14:46:46 PDT 2025

Total time taken to generate the page: 1.20230 seconds