Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject() vs. NewObject() functions
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01367158
Message ID:
01367345
Views:
8
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
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform