Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRG Class build takes ten times longer than VCX
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01129448
Message ID:
01129456
Views:
26
Hi Peter,

Try create new prg file for each VCX class. After creating prg call COMPILE and check time compiling.

MartinJ

>We have recently converted a large project to all PRG classes. (About 280 classes.) Our primary motivator was to enable source comparison and archiving. We can see right off that the EXE is half the size of when we were using VCX classes.
>
>See 'PRG vs VCX'
>http://fox.wikis.com/wc.dll?Wiki~PRGvsVCX~VFP
>
>One big downside is that a simple build (not RECOMPILE) takes ten times longer than before. For example on an older machine the build in VFP9 takes 160 seconds instead of 14 seconds with the VCX classes. (Dual-core Dell in shipment now. :)
>
>Have others seen this phenomenon?
>
>Am I missing something that would speed up the build?
>
>BTW, having all of the FXP files in place has no effect.
>
>Peter
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform