Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is CLASSLIB in the APP/EXE ???
Message
From
29/04/1999 14:50:31
 
 
To
29/04/1999 14:34:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00213566
Message ID:
00213581
Views:
33
OIC....

What about a small routine where you attempt to set classlib, trapping any error. If the error occurs, then look for the physical classlib?


>>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
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform