dbTalk Databases Forums  

Compile Problems

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Compile Problems in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Doug Schwarz
 
Posts: n/a

Default Compile Problems - 02-12-2004 , 10:53 AM






A mature VFP7 project of mine has suddenly stopped compiling. No files
added or deleted, just a couple of cosmetic changes -- but VFP7 won't
compile the project. No error message, VFP just freezes during compile.

Other VFP7 projects seem to compile OK. Nonetheless, I reinstalled
VFP7, but that made no difference.

Any suggestions?

Thanks --
Doug Schwarz


Reply With Quote
  #2  
Old   
Rick Bean
 
Posts: n/a

Default Re: Compile Problems - 02-12-2004 , 01:53 PM






Doug,
This is almost always due to a "corrupted" form, classlib or report. Watch the messages as the build happens and note what component is last displayed. Then after you've started VFP again, try recompiling that file separately with COMPILE FORM ... , COMPILE CLASSLIB ... or COMPILE REPORT .... Now try the build again. If it once again "hangs", then it's probably the next item in the project. Because that isn't always what you think it is, you'll need to open the project as a table, locate the last "good" one and manually compile the next one in the project. An alternative is to save off the "only" files you changed, restore everything else back to the last good build, and then only replace the new files.

Rick

"Doug Schwarz" <odougs (AT) alum (DOT) colby.edu> wrote

Quote:
A mature VFP7 project of mine has suddenly stopped compiling. No files
added or deleted, just a couple of cosmetic changes -- but VFP7 won't
compile the project. No error message, VFP just freezes during compile.

Other VFP7 projects seem to compile OK. Nonetheless, I reinstalled
VFP7, but that made no difference.

Any suggestions?

Thanks --
Doug Schwarz


Reply With Quote
  #3  
Old   
Doug Schwarz
 
Posts: n/a

Default Re: Compile Problems - 02-12-2004 , 03:31 PM



Thanks. Recompiling individual components didn't seem to help, but I
did have a good backup I could work from (thank heaven!), and everything
seems to be OK now.

-- Doug

Rick Bean wrote:
Quote:
Doug,
This is almost always due to a "corrupted" form, classlib or report. Watch the messages as the build happens and note what component is last displayed. Then after you've started VFP again, try recompiling that file separately with COMPILE FORM ... , COMPILE CLASSLIB ... or COMPILE REPORT .... Now try the build again. If it once again "hangs", then it's probably the next item in the project. Because that isn't always what you think it is, you'll need to open the project as a table, locate the last "good" one and manually compile the next one in the project. An alternative is to save off the "only" files you changed, restore everything else back to the last good build, and then only replace the new files.

Rick

"Doug Schwarz" <odougs (AT) alum (DOT) colby.edu> wrote


A mature VFP7 project of mine has suddenly stopped compiling. No files
added or deleted, just a couple of cosmetic changes -- but VFP7 won't
compile the project. No error message, VFP just freezes during compile.

Other VFP7 projects seem to compile OK. Nonetheless, I reinstalled
VFP7, but that made no difference.

Any suggestions?

Thanks --
Doug Schwarz




Reply With Quote
  #4  
Old   
Anthony Shipley
 
Posts: n/a

Default Re: Compile Problems - 02-12-2004 , 07:23 PM



"Rick Bean" <rgbean (AT) NOSPAMmelange-inc (DOT) com> [WA] wrote:

Quote:
Doug,
This is almost always due to a "corrupted" form, classlib or report.
i.e. a memo corruption??

Seems to be a weakness of the VFP model. Doesn't make much difference to me
because I only use memos for data.

Are classes implemented via memo fields?

regards - anthony shipley

look, ma - no .sig


Reply With Quote
  #5  
Old   
Rick Bean
 
Posts: n/a

Default Re: Compile Problems - 02-13-2004 , 10:09 AM



Anthony,
Yes, virtually all VFP project components use tables with memo fields - including Projects!

ClassLibs, Forms, Reports, Labels Menus, Projects and Databases all have a "memo" file.

Rick

"Anthony Shipley" <astechsystems (AT) iinet (DOT) net.au> wrote

Quote:
"Rick Bean" <rgbean (AT) NOSPAMmelange-inc (DOT) com> [WA] wrote:

Doug,
This is almost always due to a "corrupted" form, classlib or report.

i.e. a memo corruption??

Seems to be a weakness of the VFP model. Doesn't make much difference to me
because I only use memos for data.

Are classes implemented via memo fields?

regards - anthony shipley

look, ma - no .sig

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.