01-11-2008 08:40 PM
01-14-2008 02:27 PM
01-14-2008 04:07 PM
Thanks for your reply Nick, but it's more complicated than you think.
The .wtx extension recognizes and launches my app, no problem. The problem is after my app launches, and the open doc event propagates thru the event queue (which should normally result in my .wtx document being opened by my app), your framework intercepts this event and puts up its own dialog box saying that the .wtx file is not a valid LV file, and kills the open doc event. So my document never opens in my app, which means I now have an app whose documents can't be double-clicked from the Finder, hardly an elegant program.
If I prevent any calls to your framework (and by so doing I assume I prevent initialization of all the vi's etc...), .wtx files work flawlessly from the Finder, my app launches, the doc opens, etc...
So your framework for some reason kills the document open events as soon as it's initialized, preventing all but LV docs from being recognized by the host app.
Peter.
01-16-2008 06:39 PM