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

Mailing lists / lazarus / 1999-04
4 messages · 3 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
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
It sure did, because I have found the problem !! The problem is that in TIniFiles, the…
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. :-\
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.
Michael A. Hess wroteGreetings, 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.