Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is CLASSLIB in the APP/EXE ???
Message
De
29/04/1999 14:34:21
 
 
À
29/04/1999 14:08:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00213566
Message ID:
00213574
Vues:
29
>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
Fil
Voir

Click here to load this message in the networking platform