Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject() vs. NewObject() functions
Message
 
À
15/12/2008 08:03:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
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:
01367385
Vues:
8
Hi Cetin

>Which is more advisable? If you take my advice use NewObject() if the classes are coming from a prg or vcx. If you have "set path ..." includes "C:\VSO3\Common\Libs" then
>
loODBC = NEWOBJECT("cODBC", "cVSONoSCNonVisualUtilities")
Funny, though I have the classlib folder in the SET("PATH") yet this won't work for me. I have confirmed this by displaying the SET("PATH") just before the call.

Thanks for responding.
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