[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123456789[10] ]

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 16:38:58 07/05/00 Wed
Author: Larry Griffiths
Subject: Re: Pre-compiled headers fail
In reply to: Michel 's message, "Re: Pre-compiled headers fail" on 06:42:09 06/23/00 Fri

Hi Michel,

I just wanted you to know that I typed in something close to what you posted (39.37007874015748) and the stupid pascal compiler generates it as a constant in the .hpp file when it has lots of digits :(

(It felt so good to call the compiler stupid) :)


> Hi Larry,
> I'll change it to,
> 39.37007874015748
> as this constant requires a high precision when
> converting resolutions to pixels per meter.
> Best regards,
> Michel
> > I had to change the EnMisc.pas file as follows...
> >
> > //CInchesPerMeter = 100 / 2.54;
> > CInchesPerMeter = 39.37;
> >
> > The first line was creating a const in the header
> > which defeated the pre-compiled headers.
> >
> > Larry.

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]

Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.