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

Home » Public Forums » archive » Call_External error in Virtual Machine
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
Call_External error in Virtual Machine [message #55162] Thu, 02 August 2007 12:04
bsoher is currently offline  bsoher
Messages: 5
Registered: May 2006
Junior Member
Hi,

I have a windows DLL that I call from an IDL gui using the
CALL_EXTERNAL mechanism that works just fine when I compile the
application in IDL 6.1 and run it from the IDL command line. When I
save the app (SAVE, /ROUTINES, /XDR, FILENAME=fname) and drop the
fname.sav file onto the IDL 6.3 Virtual Machine shortcut, the
application's gui pops up OK, but I get an error message from
Call_External the first time it tries to access the DLL.

The error index = -378
The error msg = CALL_EXTERNAL: Error loading sharable executable.
Symbol: gava_mysql_do_query, File=C:\WINDOWS
\system32\libgava_main.dll
The specified module could not be found.

Again, this CALL_EXTERNAL call works just fine outside the VM. I've
tried hardcoding the directory where the DLL is located (usually I
just list the DLL name because system32 is in the search path) but
this did not help.

Any thoughts would be appreciated.

Thanks,

Brian.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: changing path
Next Topic: Re: changing path

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

Current Time: Sat Oct 11 05:14:01 PDT 2025

Total time taken to generate the page: 3.36067 seconds