Call_External error in Virtual Machine [message #55162] |
Thu, 02 August 2007 12:04 |
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.
|
|
|