Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List of Classes in a VCX at runtime
Message
 
 
À
19/09/2016 15:00:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01641005
Message ID:
01641107
Vues:
60
>>>Hi All,
>>>
>>>From a EXE or APP, I would like to get a list of the Classes in a VCX that is compiled into to the runtime. I do not wish to distribute the actual VCX file. But I can not access it as table when it is apart of the EXE/APP. Is there a build-in or third party function that makes it possible to get a list of classes?
>>>
>>>Thanks
>>
>>If the VCX is included, it can be USEd like any other table.
>>
>>
>>SET DELETED ON
>>USE LibraryName.vcx NOUPDATE
>>SCAN FOR !EMPTY(Class) AND !EMPTY(ObjName)
>>	? "Class:",ObjName
>>ENDSCAN
>>USE
>>
>
>Tried that. If the VCX is added as a Class Library it can not be added again as a table. The Class Library reference is not visible as a viable table inside the application.

That is because you compile the project with the checkbox "Encrypted" in the project information. If you uncheck and compile again it will work. See attachment.
Christian Isberner
Software Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform