More '' pointer issues

Michael Van Canneyt michael.vancanneyt at wisa.be
Thu Apr 29 11:54:55 EDT 1999




On Thu, 29 Apr 1999, Michael A. Hess wrote:

> Michael Van Canneyt wrote:
> > 
> > On Wed, 28 Apr 1999, Michael A. Hess wrote:
> > 
> > > Greetings,
> > >
> > > Here is some more information, not sure if it helps you or not.
> > >
> > 
> > It sure did, because I have found the problem !!
> > 
> > The problem is that in TIniFiles, the strings are shortstrings !!
> > 
> > I put a {$H+} after the {$Mode Delphi} and all works now flawlessly.
> > (your little testprogram too !)
> > 
> > I've committed the new inifiles to CVS.
> > (for the other ones: The TInifile now functions again)
> 
> OK. Call me stupid but I thought Delphi mode defaulted to $H+. Shouldn't
> that be the normal case since it is the default in Delphi?

No, the delphi command-line compiler uses $H- as the default.
In the Project options, the 'huge strings' options is checked
off by default, so you don't notice.

> 
> In that case be sure to modifiy ezcgi as well since I didn't use the $H+
> there either. :-\

Done.

Michael.






More information about the Lazarus mailing list