Information générale
Catégorie:
Codage, syntaxe et commandes
>If you install the EXE to a different directory, "hide" the original classlib files with ATTRIB +H and then run the EXE and launch forms or whatnot that instance objects from the classlib, I would think that you'd have empirical evidence that it was compiled into the EXE.
>
>>
>>Is there a way to tell if a ClassLib file has been compiled into the APP or EXE...
John... I personally know that it is in the .EXE if I put it in the project. That is not the issue... I want to know programatically if a LIB was included before I try to create an object from it...
Basically, this is the logic...
Is thislib in set('CLASSLIB')?
Yes - Instntiate it
No:
Is thislib in the EXE ?
Yes - instantiate the object
No - Is thislib in a specified directory
Yes - instatiate it
No - Is thislib in the path
*************
BOb
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