Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rebuild Project misses files

Status
Not open for further replies.

SteveDingle

Programmer
Jul 26, 2004
254
GB
HEya All,

Is just it me or does the rebuild process now miss files referenced in classes/prgs/forms.

In past version (<9.0) I could usually rely on the fact that if I have a class in the project and there is a method that contains...

llProgramSuccess = DoMyProgram()

.. that DoMyProgram.prg would be pulled into the project on a rebuild. If in the path automatically, if not I would be prompted.

Just seems like lately I'm testing exe's and I'm missing stuff which is referenced like the above.



Toodles,
Steve Dingle
D&S Business Solutions Ltd
 
I noticed it after VFP9-SP2. It has happened to me twice and I blew it off a a weird happening. Guess not if other people are getting it.


David W. Grewe Dave
 
I just tried a simple example and everything worked as I'd expect. Add a form class to a new project. In the Load method, I have this code:

DO MyBuildTestProg1.PRG

lSomething = MyBuildTestProg2()

Created the two PRGs.

Rebuilt the project and both PRGs were added.

Then, I tried it again with PRG as main, calling the class. Still worked as expected.

So if there's a bug, it's more subtle than just using a PRG as a function.

Hmm, I remember issues way back where anything called on a line with a macro on it wouldn't get pulled in. Could that be the case here?

Tamar
 
Heya Tamar,

No, n macros and yes I would agree subtle. I have been looking into this for a coupla months now trying to see a pattern and can't. If I can ever get reproducible scenarios I would report but can't so just wanted to see if other were having the same issue. FWIW, it happens with classes and even had a line DO FORM XYZ and the form wasn't pulled in.

Not a big deal, I am building a project hook to insert all "framework" stuff was more wondering if it was just me or if others had noticed

Toodles,
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top