Now that you have all but ruled out QuickReports, I'll throw another Delphi VCL bug into the fray. A streaming bug existed before Delphi 6 which also results in the same error if you have a floating point property and enter a value larger than 2 billion and has no decimals. The stream reader incorrectly reads it as an Integer and gets an overflow immediately. While this bug has been fixed, there may be similar bugs lurking around in the VCL or another 3rd party component.
What I suggest you do is to create a new application that uses the same libraries as the app with the error. In the new application, add a button on a form that allows you to load the dfm file into a generic TForm object. If you compile with debug libraries, you will then be able to see which line of code causes the range check exception. ----- Original Message ----- From: "Eric Tishler" <[EMAIL PROTECTED]> To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]> Sent: Thursday, March 11, 2004 9:45 AM Subject: RE: [DUG] Range check error loading forms > Hmm, the picture of Quick Reports is emerging to be a rather unfavorable one. In any event you have all been so responsive and helpful. Although I am a Delphi neophyte, I will keep my eye on these forums to see if perhaps I can lend assistance in time. > > > Thanks again, > > Eric > > Eric Tishler > Software Architect > Resolute Partners, LLC > Phone: 203.271.1122 > Fax: 203.271.1460 > [EMAIL PROTECTED] > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alister Christie > Sent: Wednesday, March 10, 2004 3:36 PM > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Range check error loading forms > > I could have suggested this one if I had been thinking hard enough. > I've had heaps of problems with quickreports/qrdesign on XP. In > particular (default) network printers not being present and no printer > installed - but have never seen this error (all my problems have been > runtime). > > Alister Christie > Computers for People > Phone: 04 471 1849 / Fax: 04 471 1266 > PO Box 13085 > Johnsonville > Wellington > > Eric Tishler wrote: > > My jaw is bruised it has hit the floor so hard. I cannot believe it, but > > changing my default printer has SOLVED the problem. J > > > > > > > > James, may I please ask whatever made you thinking of doing something so > > seemingly unrelated??? > > > > > > > > I can now access all my report forms, all without making any changes to > > my Delphi IDE, source code, or the Quick Reports package itself. > > > > I am amazed, but obviously the problem lies elsewhere. > > > > > > > > What ever could the explanation be? > > > > > > > > Thank you very much James! > > > > > > > > Best Regards, > > > > > > > > Eric > > > > > > > > Eric Tishler > > > > Software Architect > > > > Resolute Partners, LLC > > > > Phone: 203.271.1122 > > > > Fax: 203.271.1460 > > > > [EMAIL PROTECTED] > > > > > > > > -----Original Message----- > > *From:* [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of *James Sugrue > > *Sent:* Wednesday, March 10, 2004 2:35 PM > > *To:* 'NZ Borland Developers Group - Delphi List' > > *Subject:* RE: [DUG] Range check error loading forms > > > > > > > > Just something out of left field but, try changing your default printer. > > > > > > > > ------------------------------------------------------------------------ > > > > *From:* [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] *On Behalf Of *Eric Tishler > > *Sent:* Thursday, 11 March 2004 2:05 a.m. > > *To:* NZ Borland Developers Group - Delphi List > > *Subject:* RE: [DUG] Range check error loading forms > > > > > > > > I cannot place a TQuickReport on a form because that in itself causes a > > Range Check error. > > > > > > > > I would like to rebuild QuickReports package to ensure I do not have a > > version with range checking, but the only related file I can find is: > > dclqrt60.bpl > > > > > > > > I suppose I cannot even rebuild that package with just this file. > > > > > > > > And, I am still uncertain why this Range Check error shows up now, when > > I have been using Quick Reports for a month now with no problems. > > > > > > > > Still looking for help ... (Although I suppose I can try the $R- predirective) > > > > > > > > Thanks, > > > > > > > > Eric > > > > > > > > Eric Tishler > > > > Software Architect > > > > Resolute Partners, LLC > > > > Phone: 203.271.1122 > > > > Fax: 203.271.1460 > > > > [EMAIL PROTECTED] > > > > > > > > -----Original Message----- > > *From:* [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of *Paul Mckenzie > > *Sent:* Tuesday, March 09, 2004 6:13 PM > > *To:* NZ Borland Developers Group - Delphi List > > *Subject:* Re: [DUG] Range check error loading forms > > > > > > > > Place a TQuickReport on a Form and click-right... > > > > but checking the package the components com from will give an idea eg > > "DCLQRT60.bpl". > > > > We were (begining of last year) trying to cope with old versions of > > QuickReports - major nightmare... > > > > > > > > Regards > > Paul McKenzie > > Analyst Programmer > > SMSS Ltd. > > > > > > ----- Original Message ----- > > > > * > > From: Eric Tishler <mailto:[EMAIL PROTECTED]> > > * > > > > * * > > > > **To:* NZ Borland Developers Group - Delphi List > > <mailto:[EMAIL PROTECTED]> * > > > > **Sent:* Wednesday, March 10, 2004 10:59 AM* > > > > **Subject:* RE: [DUG] Range check error loading forms* > > > > * * > > > > *Delphi** 6.0, not sure how to check version on Quick Reports* > > > > * * > > > > *Eric Tishler* > > > > *Software Architect* > > > > *Resolute Partners, LLC* > > > > *Phone: 203.271.1122* > > > > *Fax: 203.271.1460* > > > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>* > > > > * * > > > > * > > -----Original Message----- > > *From:* [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]> > > [mailto:[EMAIL PROTECTED] Behalf Of *Paul Mckenzie > > *Sent:* Tuesday, March 09, 2004 4:40 PM > > *To:* NZ Borland Developers Group - Delphi List > > *Subject:* Re: [DUG] Range check error loading forms > > * > > > > * * > > > > *Which version of Delphi and QuickReports ?* > > > > *QuickReports has changed across versions of Delphi.* > > > > * * > > > > *Regards > > Paul McKenzie > > Analyst Programmer > > SMSS Ltd. > > * > > > > * > > ----- Original Message ----- > > * > > > > ** > > From: Eric Tishler <mailto:[EMAIL PROTECTED]> > > ** > > > > ** ** > > > > ** ** > > > > *** > > To: NZ Borland Developers Group - Delphi List <mailto:[EMAIL PROTECTED]> > > *** > > > > ****Sent:* Wednesday, March 10, 2004 9:50 AM*** > > > > ****Subject:* RE: [DUG] Range check error loading forms*** > > > > *** *** > > > > ***I can load the entire project with no problems. It is only when I try > > to open certain forms that the Range Check error appears.*** > > > > *** *** > > > > ***I followed Stacey's advice and copied the project to a safe location. > > Then I loaded the project, and ignored the errors. When my form loaded > > what was missing was a Quick Report.*** > > > > *** *** > > > > ***Following this line of reasoning, I started a brand new project with > > an empty form and tried to drop various Quick Report components on the > > empty form. While I could drop such components at Detail and Summary > > bands, as soon as I tried to drop the QuickRep component itself on the > > form, I got the same Range Check error. So most likely it is not the DFM > > itself. It appears that there is something in the Quick Reports package > > that the Delphi IDE does not like.*** > > > > *** *** > > > > ***I tried to uninstall and reinstall the entire Quick Report package, > > but I still get the same error after the re-install.*** > > > > *** *** > > > > ***Now I know what is causing the problem. I just don't know why.*** > > > > *** *** > > > > ***Any further ideas would be greatly appreciated.*** > > > > *** *** > > > > ***Thanks again,*** > > > > *** *** > > > > ***Eric*** > > > > *** *** > > > > ***Eric Tishler*** > > > > ***Software Architect*** > > > > ***Resolute Partners, LLC*** > > > > ***Phone: 203.271.1122*** > > > > ***Fax: 203.271.1460*** > > > > [EMAIL PROTECTED] > > > > *** *** > > > > *** > > -----Original Message----- > > *From:* [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of *Paul Mckenzie > > *Sent:* Tuesday, March 09, 2004 2:34 PM > > *To:* NZ Borland Developers Group - Delphi List > > *Subject:* Re: [DUG] Range check error loading forms > > *** > > > > *** *** > > > > ***Sounds like one of your DFM's has got mangled...*** > > > > ***Can you manually remove the PAS+DFM from the project files and load > > the project OK.*** > > > > ***If you can I them suggest trying to recover the DFM.*** > > > > ***Roll back to previous version (if possible and not too old) or > > manually edit the DFM as text to correct the issue.*** > > > > ***This is just a guess - it may be something else altogether...*** > > > > *** *** > > > > ***HTH*** > > > > *** *** > > > > ***Regards > > Paul McKenzie > > Analyst Programmer > > SMSS Ltd. > > *** > > > > *** > > ----- Original Message ----- > > *** > > > > **** > > From: Eric Tishler <mailto:[EMAIL PROTECTED]> > > **** > > > > **** **** > > > > **** **** > > > > **** > > > > **** > > > > ***** > > To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > ***** > > > > ******Sent:* Wednesday, March 10, 2004 5:36 AM***** > > > > ******Subject:* [DUG] Range check error loading forms***** > > > > ***** ***** > > > > *****There are several forms in a Delphi project I am working on. > > Everything worked fine, then all of the sudden today I get an error when > > I try to bring up the form in the Delphi (6.0) IDE.***** > > > > *****The Error reads: Error Reading Form (in the title bar)***** > > > > *****Range check error. Ignore the error and continue? NOTE:***** > > > > *****Ignoring the error may cause components to be deleted or***** > > > > *****Property values to be lost.***** > > > > *****I do not believe I made (or saved) any changes that may cause > > this.***** > > > > *****Can any body help me?***** > > > > *****Thank you,***** > > > > *****Eric***** > > > > *****Eric Tishler***** > > > > *****Software Architect***** > > > > *****Resolute Partners, LLC***** > > > > *****Phone: 203.271.1122***** > > > > *****Fax: 203.271.1460***** > > > > [EMAIL PROTECTED] > > > > ***** > > ------------------------------------------------------------------------ > > ***** > > > > *****_______________________________________________ > > Delphi mailing list > > [EMAIL PROTECTED] > > http://ns3.123.co.nz/mailman/listinfo/delphi***** > > > > ***** > > ------------------------------------------------------------------------ > > ***** > > > > *****_______________________________________________ > > Delphi mailing list > > [EMAIL PROTECTED] > > http://ns3.123.co.nz/mailman/listinfo/delphi***** > > > > ***** > > ------------------------------------------------------------------------ > > ***** > > > > *****_______________________________________________ > > Delphi mailing list > > [EMAIL PROTECTED] > > http://ns3.123.co.nz/mailman/listinfo/delphi***** > > > > ***** > > ***** > > ------------------------------------------------------------------------ > > ***** > > _______________________________________________ > > Delphi mailing list > > [EMAIL PROTECTED] > > http://ns3.123.co.nz/mailman/listinfo/delphi > > ***** > _______________________________________________ > Delphi mailing list > [EMAIL PROTECTED] > http://ns3.123.co.nz/mailman/listinfo/delphi > > > _______________________________________________ > Delphi mailing list > [EMAIL PROTECTED] > http://ns3.123.co.nz/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
