3.09 crashes

Started by Robert Rioja, July 26, 2010, 01:31:54 PM

Previous topic - Next topic

Cho Sing Kum

Hi John,

Yours is the method intended-by-design in PB. I think that may be the only method to "include" a file in PB.

FF also follows the same method. This is why you can set the paths of PB's includes as well as Jose's includes.

I would say that any additional include files, like SQLitening.inc for example should also be placed in one of the path depending on which set of includes preferred.

FF also allow for modules where include files can be added. I think Rolf suggested that method probably because Robert was already doing that with his Global.inc, wherein the offending hard-coded path include line was also found.

I will go with the PB intended-by-design method, which is the method you stated.

Robert Rioja

I think that many of you are missing the point of this thread.  No matter where you have your files, if an INCLUDed file is missing FF crashes rather than telling you that it cannot find the file.

Robert

John Montenigro

I've seen people use "IF NOT DEF" tests at the top of an .INC file in order to avoid errors due to defining duplicate equates.

Could that help you avoid compiler errors when an .INC is missing???
-John

Paul Squires

There are a few situations where FF blows up when it fails to correctly the position of a compiler error. I'll have to build in some additional checks to at least show the compiler message even if the position can not be determined.
Paul Squires
PlanetSquires Software

Rudolf Furstauer

Perhaps we could also get an improved analysis of the information in the rc file.
When a file is not found, followed by a crash of the rc.exe.
For beginners, it's difficult to find these errors.

Paul Squires

Quote from: Rudolf Furstauer on August 10, 2010, 10:37:57 AM
Perhaps we could also get an improved analysis of the information in the rc file.
When a file is not found, followed by a crash of the rc.exe.
For beginners, it's difficult to find these errors.

That is more difficult - I remember trying to deal with the rc compiler many times and it seems to be very erradic at best. I will look again while dealing with this whole error detection issue.
Paul Squires
PlanetSquires Software