"set the externals" routine for enchanced QT no longer working
Richard Miller
wow at together.net
Thu Nov 5 11:43:20 EST 2009
Used to work fine. But that's not important. What do you suggest I do to
get it working now? I'd prefer to have one standalone file. That was the
reason for putting the binary data into the custom property to begin
with... to avoid a separate DLL file to download.
Sounds like you are saying the below routine would work fine if I simply
included the DLL as a separate file and avoided the custom
property/variable approach.
Thanks.
Richard
Trevor DeVore wrote:
> On Nov 5, 2009, at 11:06 AM, Richard Miller wrote:
>
>> I start with a fresh stack (under XP). I use the following to set a
>> custom property, EQT:
>>
>> set the EQT of this stack to url "binfile:enhancedQT.dll"
>
> You are loading binary data into a custom property here.
>
>> I then use this stack script:
>>
>> ----------------------------------------------
>> on openstack
>> ...
>> put the eqt of this stack into pExternals
>
> Then you are putting this binary data into a variable.
>
>> IF there is not a stack "myExternals" THEN
>> reset templatestack
>> set destroywindow of templatestack to true
>> set destroystack of templatestack to true
>> set visible of templatestack to false
>> set externals of templatestack to pExternals
>
> Then you are setting a property of a stack that expects a path to a
> file to the binary data. Are you sure this worked before?
>
More information about the use-livecode
mailing list