Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time delays in creating objects
Message
From
22/12/1999 09:37:48
Walter Meester
HoogkarspelNetherlands
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00307251
Message ID:
00307263
Views:
17
Ian,

>We are having some time delays when trying to CreateObject() some of our classes. They are simple classes, based on Custom with an Init() that defaults 3 properties.
>
>Sometimes they create immediately, other times they can take 1+ seconds.
>
>Any ideas on how to speed it up?

Use the coverage profiler to determine where the delay comes from:

SET COVERAGE TO log.txt
X=CREATEOBJECT(MyClass)
SET COVERAGE TO
MODI FILE Log.txt

Succes,
Previous
Reply
Map
View

Click here to load this message in the networking platform