Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-04

More '' pointer issues

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Cliff Baeseman
to Michael Van Canneyt: It sure did, because I have found the problem !! The problem is that in TIniFiles, the…

YAHOOOOOOO! We are back in business.... I presume this means that TStrings.SaveToFile will work now.

Thats Great Thanx

Cliff

Earlier message 33 lines
-----Original Message----- From: Behalf Of Michael Van Canneyt Sent: Thursday, April 29, 1999 2:48 AM To: Michael A. Hess Cc: Lazarus project Subject: Re: More '' pointer issues 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) Michael. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email

Michael A. Hess
to Michael Van Canneyt: It sure did, because I have found the problem !! The problem is that in TIniFiles, the…
Michael Van Canneyt wrote 17 lines
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?

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

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael Van Canneyt
to Michael A. Hess
Michael A. Hess wrote 21 lines
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.

Reply by email

Michael Van Canneyt
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)

Michael.

Reply by email