Sign in Join

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

Mailing lists / lazarus / 2008-07

Help needed with Lazarus errors (refer attached file)

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Peter Williams

Hello Fellow Lazarus programmers,

I'm trying to compile a fairly complicated Lazarus project which I converted from Delphi 7 Second Edition.

The attached txt file (3KB) contains the Lazarus compiler message errors and the relevant code from the unit "MyIniFiles.pas"

NB - the file "MyIniFiles.pas" was created by copying the Borland Delphi 5 file "IniFiles.pas" and adding some procedures etc etc to it and resaving it as MyIniFiles.pas (note: that was years ago!). The purpose of it is to create & read & write .ini files (e.g. same as has been used in Micro$oft Windowz).

NB(2) - I hope that the attachment is permitted by this group (e.g. not against the rules). It is a plain text file.

Regards,
PEW
from Hobart, Tasmania, Australia

Fond Regards, Peter Eric (aka 'pew') WILLIAMS My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you think about it.) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080731/344685ca/attachment.html -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: lazarus_errors_compiling_frog_project.txt Url: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080731/344685ca/attachment.txt

Reply by email

Henry Vermaak
to Peter Williams

2008/7/31 Peter Williams :

Show quoted text 14 lines
Hello Fellow Lazarus programmers, I'm trying to compile a fairly complicated Lazarus project which I converted from Delphi 7 Second Edition. The attached txt file (3KB) contains the Lazarus compiler message errors and the relevant code from the unit "MyIniFiles.pas" NB - the file "MyIniFiles.pas" was created by copying the Borland Delphi 5 file "IniFiles.pas" and adding some procedures etc etc to it and resaving it as MyIniFiles.pas (note: that was years ago!). The purpose of it is to create & read & write .ini files (e.g. same as has been used in Micro$oft Windowz).

lazarus already has ini file support (uses inifiles;). then you can use TIniFile for reading/writing.

henry

Reply by email

Peter Williams
to Henry Vermaak

G'day Henry and All,

2008/7/31 Henry Vermaak

Show quoted text 23 lines
2008/7/31 Peter Williams : > > Hello Fellow Lazarus programmers, > > I'm trying to compile a fairly complicated Lazarus project which I converted > from Delphi 7 Second Edition. > > The attached txt file (3KB) contains the Lazarus compiler message errors and > the relevant code from the unit "MyIniFiles.pas" > > NB - the file "MyIniFiles.pas" was created by copying the Borland Delphi 5 > file "IniFiles.pas" and adding some procedures etc etc to it and resaving it > as MyIniFiles.pas (note: that was years ago!). The purpose of it is to > create & read & write .ini files (e.g. same as has been used in Micro$oft > Windowz). lazarus already has ini file support (uses inifiles;). then you can use TIniFile for reading/writing.

Thanks for that info. I have changed it and now I am creating an .ini file. The main reason why I created the "MyIniFiles.pas" unit (years ago now!) is that I wanted to have my own "MyReadBool" and "MyWriteBool" procedure which output "True" or "False" instead of "1" or "0" (which I think the original "IniFiles.pas" did).

Best Regards,
PEW
from Hobart, 'Down Under'

Show quoted text 6 lines
henry _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Fond Regards, Peter Eric (aka 'pew') WILLIAMS My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you think about it.) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20080801/aca70af3/attachment-0003.html>

Reply by email