[lazarus] TinitFile Bug perhaps?

Cliff Baeseman vbman at pcpros.net
Tue Apr 27 00:41:51 EDT 1999


Michael,

   I created a decendent class of type TIniFile called TProject.  I used
your same create and also created another procedure called
SetProjectName(fname: string).  I pass a file name to create and the
file gets created but when I call my SetProjectName which just passes
the name to WriteString(''NAMES,'PROJECT',fName)....I get an unhandled
exception and a Out Of Memory error is thrown.  I am using this for a
path name '/development/lazarus/projects/lazarus.csp'.  Like I said the
file is created but the entry is not created.


I am trying to use this unit to create lazarus project files.   BTW we
do have the color source editor sort of working Shane is ironing it out
now.  I am working the compiler and project issues.  Like creation of
the project files and integrating the compiler, we should finish around
the same time.


Thanx

Cliff






More information about the Lazarus mailing list