Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
I solved the problem. I had my pat set in the wrong place. It gets a little complicated when you are using an exe to launch an app. But now I have another problem. When I shut down the application I get another error: cannot clear the object claunch because it is in use. Claunch is a class thet gets instantiated into a public object oLaunch. After clear events is executed, the following code - RELEASE ALL EXTENDED - is exectuted. That should take care of the problem, but there must be some hanging reference somewhere. Any clues?
>>I get a syntax error when I do that. I'm thinking of setting the path in my stub exe. That may solve the problem.
>
>Any spaces in the filename? Try with quotation marks.
>
>If that works, you may just put these full path names in an ini file and have the launcher read them from there into a variable, say lcAppFile, and then just
>
>set ... in (lcAppFile)
>
>Name expressions for filenames always trump macros and literals :).
>
>>>>>It seems that the only way for this to work is if the launcher.exe and the app file reside in the same directory. This is a problem. The launcher resides in one directory and launches several different applications. The applications reside in their own folders on the c: drive. Set classlib to in testapp doesn't work otherwise. Do you know of a workaround?
>>>>>
>>>>Sorry, not from the top of my head and I'm leaving shortly. I'll think a bit during weekend.
>>>
>>>Just a stab in the dark - before I forget: would using full path help? Set ... to w:\bla\bla\bla.app ?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement