Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject() vs. NewObject() functions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01367158
Message ID:
01367345
Vues:
7
Hi Sergey

>In general, neither one is better than other. It all comes down to your framework design and personal preferences. I always use NEWOBJECT() with all the class libraries on the VFP path.

Okay I tried NewObject() with one parameter (my understanding is this is how you use it too) and it works for me just like CreateObject() does. What would you have to comment on NewOject() being slower than CreateObject() because of all the unload and load of classlibs it does?

Thanks for your response
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform