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

Home » Public Forums » archive » CALL_EXTERNAL in idl 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 in idl virtual machine [message #44198] Wed, 01 June 2005 01:44 Go to next message
Georg Wiora is currently offline  Georg Wiora
Messages: 13
Registered: November 2001
Junior Member
Hi everybody!

I tried to use CALL_EXTERNAL in an application that should run without a
license in IDL-virtual machine. When running the program I get an error
that "EXECUTE" is disabled in IDL-VM. The point is that there is *no
place* where I call execute. Only CALL_EXTERNAL is used to call functions
in a (WINDOWS-)DLL. The documentation didn't say anything (at least to me)
about a license limitation for CALL_EXTERNAL.

Any idea how to solve this problem? By the way: I can't change the DLL
since I dont have the sources.

Thanks for any advice,

Georg

--
I'm not a signature, I'm only cleaning here
Re: CALL_EXTERNAL in idl virtual machine [message #44288 is a reply to message #44198] Wed, 01 June 2005 09:53 Go to previous messageGo to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
I don't get it, the avi dlm is what it is: a DLM. I am not sure why you need
call external? On IDL start, IDL will scan for DLMs. The commands from the
DLM are indistinguishable from native IDL routines and should work just
fine. Can you post your code?

Haje


"Georg Wiora" <xorx@quarkbox.de> wrote in message
news:opsrozbrys2yxjyx@news.daimlerchrysler.com...
> Haje Korth <haje.korth@jhuapl.edu> wrote:
>> "Georg Wiora" <xorx@quarkbox.de> wrote in message
>>> Hi everybody!
>>>
>>> I tried to use CALL_EXTERNAL in an application that should run without a
>>> license in IDL-virtual machine. When running the program I get an error
>>> that "EXECUTE" is disabled in IDL-VM. The point is that there is *no
>>> place* where I call execute. Only CALL_EXTERNAL is used to call
>>> functions
>>> in a (WINDOWS-)DLL. The documentation didn't say anything (at least to
>>> me)
>>> about a license limitation for CALL_EXTERNAL.
>>>
>> Hm, I thought we discussed this before and came to the conclusion that
>> call_externals are allowed in the VM. Have you isolated the violating
>> call?
>> Are you sure it is the call external statement?
>
> Yes I am. The library I am calling is the avi interface from here:
> http://www.kilvarock.com/freesoftware/dlms/avi.htm
> I used version 5.5 and 5.6.
>
> There is another version of this as DLM from RSI
> http://www.rsinc.com/codebank/search.asp?FID=139
> which I have not tried yet.
>
> Georg
>
>
> --
> Ozzsig: "There is no sig like home sig"
Re: CALL_EXTERNAL in idl virtual machine [message #44290 is a reply to message #44198] Wed, 01 June 2005 08:56 Go to previous messageGo to next message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Georg Wiora wrote:
> Haje Korth wrote:
>
>> "Georg Wiora" wrote in message
>>
>>> I tried to use CALL_EXTERNAL in an application that should run without a
>>> license in IDL-virtual machine. When running the program I get an error
>>> that "EXECUTE" is disabled in IDL-VM.
>>>
>> Hm, I thought we discussed this before and came to the conclusion that
>> call_externals are allowed in the VM. Have you isolated the violating
>> call?
>> Are you sure it is the call external statement?
>
>
> Yes I am. The library I am calling is the avi interface from here:
> http://www.kilvarock.com/freesoftware/dlms/avi.htm
> I used version 5.5 and 5.6.
>
> There is another version of this as DLM from RSI
> http://www.rsinc.com/codebank/search.asp?FID=139
> which I have not tried yet.

These .dlms should work fine. I have used them extensively in VM
applications. There must be something else causing this.

-Rick
Re: CALL_EXTERNAL in idl virtual machine [message #44293 is a reply to message #44198] Wed, 01 June 2005 07:53 Go to previous messageGo to next message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Georg Wiora" <xorx@quarkbox.de> wrote in message
news:opsrozbrys2yxjyx@news.daimlerchrysler.com...
...
> Yes I am. The library I am calling is the avi interface from here:
> http://www.kilvarock.com/freesoftware/dlms/avi.htm
> I used version 5.5 and 5.6.
...
> Georg

Hi,
I have used the AVI dlm, dll and have successfully used it with the
virtual machine.
I can post (or email) the sav file if anyone wants to check it out.
It is an embarrasingly simple gui that reads in jpgs or pngs, and creates an
avi.


Cheers,
bob

PS is there an execute function somewhere hidden in one of
your called files? I use the dlm with
"BUILD_DATE MARCH 2002"
and I think I am using the latest (aviIDL56.zip).
Also, what version of the VM do you have?
Re: CALL_EXTERNAL in idl virtual machine [message #44295 is a reply to message #44198] Wed, 01 June 2005 05:51 Go to previous messageGo to next message
Georg Wiora is currently offline  Georg Wiora
Messages: 13
Registered: November 2001
Junior Member
Haje Korth <haje.korth@jhuapl.edu> wrote:
> "Georg Wiora" <xorx@quarkbox.de> wrote in message
>> Hi everybody!
>>
>> I tried to use CALL_EXTERNAL in an application that should run without a
>> license in IDL-virtual machine. When running the program I get an error
>> that "EXECUTE" is disabled in IDL-VM. The point is that there is *no
>> place* where I call execute. Only CALL_EXTERNAL is used to call
>> functions
>> in a (WINDOWS-)DLL. The documentation didn't say anything (at least to
>> me)
>> about a license limitation for CALL_EXTERNAL.
>>
> Hm, I thought we discussed this before and came to the conclusion that
> call_externals are allowed in the VM. Have you isolated the violating
> call?
> Are you sure it is the call external statement?

Yes I am. The library I am calling is the avi interface from here:
http://www.kilvarock.com/freesoftware/dlms/avi.htm
I used version 5.5 and 5.6.

There is another version of this as DLM from RSI
http://www.rsinc.com/codebank/search.asp?FID=139
which I have not tried yet.

Georg


--
Ozzsig: "There is no sig like home sig"
Re: CALL_EXTERNAL in idl virtual machine [message #44297 is a reply to message #44198] Wed, 01 June 2005 05:26 Go to previous messageGo to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Hm, I thought we discussed this before and came to the conclusion that
call_externals are allowed in the VM. Have you isolated the violating call?
Are you sure it is the call external statement?

Haje

"Georg Wiora" <xorx@quarkbox.de> wrote in message
news:opsronwbpw2yxjyx@news.daimlerchrysler.com...
> Hi everybody!
>
> I tried to use CALL_EXTERNAL in an application that should run without a
> license in IDL-virtual machine. When running the program I get an error
> that "EXECUTE" is disabled in IDL-VM. The point is that there is *no
> place* where I call execute. Only CALL_EXTERNAL is used to call functions
> in a (WINDOWS-)DLL. The documentation didn't say anything (at least to me)
> about a license limitation for CALL_EXTERNAL.
>
> Any idea how to solve this problem? By the way: I can't change the DLL
> since I dont have the sources.
>
> Thanks for any advice,
>
> Georg
>
> --
> I'm not a signature, I'm only cleaning here
Re: CALL_EXTERNAL in idl virtual machine [message #44308 is a reply to message #44290] Tue, 07 June 2005 02:29 Go to previous message
Georg Wiora is currently offline  Georg Wiora
Messages: 13
Registered: November 2001
Junior Member
Rick Towler <rick.towler@nomail.noaa.gov> wrote:
> These .dlms should work fine. I have used them extensively in VM
> applications. There must be something else causing this.

Hi Rick!

You where right. The object oriented part of IDL uses the "Execute"
feature to resolve and compile new classes
The point is, that I wrote a class that is calling the DLM.

You need to compile (only custom?) classes explicitly to include them in
the save-files. I think is is a field where RSI should provide a
"RESOLVE_REALLY_EVERYTHING" procedure instead of "RESOLVE_ALL" which isn't
very helpfull. Althoug the error message of the VM did not help to find
the cause of problem.

Regards,

Georg

--
Georg - Eine vermeidbare Folge der gau�schen Fehlerfortpflanzung
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Polar contour on top of polar map ??
Next Topic: C/C++ conversion to IDL

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

Current Time: Wed Oct 08 15:48:47 PDT 2025

Total time taken to generate the page: 0.01255 seconds