Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject() vs NewObject()
Message
 
À
23/08/2007 10:27:42
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01249678
Message ID:
01250096
Vues:
26
Hi Mike,

>IF NOT "VCXNAME" $ SET("CLASSLIB")
> SET CLASSLIB TO VCXNAME ADDITIVE
>ENDIF

Just want to point out that "VCXNAME" should include the extension ".VCX". The code might still cause problems if for some reason the user installed the application in a folder that happens to contain the VCX name. Not likely, but hard to trace down when it does. And it's one way to force an application into an error if you need to bypass some security measures.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform