PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Andy Flowers on February 04, 2010, 10:46:02 AM

Title: Compliation process taking very long
Post by: Andy Flowers on February 04, 2010, 10:46:02 AM
I have a project that is using code generate by PB COM Browser for MS Excel. When I compile it, it takes a long time Generating the Source code for the Excel include file.

Any suggestion why this is happening? What can I do to speed this up?

Andy Flowers
Title: Re: Compliation process taking very long
Post by: Paul Squires on February 04, 2010, 11:35:19 AM
hmmm.... could be due to FireFly having to parse through all that code each time the codegen files are created. I assume that you have that code included into FF as a "module".

Maybe try saving that code into a separate file and "#INCLUDE" it into the project by making a reference to it in the FF_AppStart handler? Files that are #INCLUDE'd are not parsed by FF.
Title: Re: Compliation process taking very long
Post by: Andy Flowers on February 04, 2010, 08:57:18 PM
Paul, placing it in the AppStart fixed the problem. Thanks