"set the externals" routine for enchanced QT no longer working

Richard Miller wow at together.net
Thu Nov 5 11:06:28 EST 2009


This process used to work for me, but no longer does. I don't know 
what's wrong with it. I don't believe I changed any code, but perhaps 
I'm missing something.

It works perfectly in the development environment, but never makes it 
past the "qtinitialize" line as a standalone.

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"

I then use this stack script:

----------------------------------------------
on openstack
  put "here" into url "file:checkit.txt"
  qtInitialize
  put "done" into url "file:checkit.txt"
end openstack

on preopenstack
  loadexternals
end preopenstack

ON loadExternals
  put the short name of this stack into tStack
  put the eqt of this stack into pExternals
  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
    create stack "myExternals"
    reset templatestack
  END IF
  go stack "myExternals"
  start using stack "myExternals"
  set the defaultstack to tStack
END loadExternals
----------------------------------------------

It simply dies at QTInitialize. Any thoughts?

Thanks.
Richard Miller



More information about the use-livecode mailing list