Sign in Join

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

Mailing lists / lazarus / 1999-05

TProject Object

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Cliff Baeseman
to Cliff Baeseman: I can now read and write to a project file using the TProject object. I have to do some…

I was just doing something like this

fini := TIniFile.Create(myfilename);
fini.WriteString('Names', 'Project', 'Lazarus');

just that threw me the error.....

After this I am just usinng the linux fdRead and fdWrite to do my work . Once the other stuff works I will switch it.

RH 5.2 and KDE BTW

Cliff

Michael A. Hess wrote 21 lines
Cliff Baeseman wrote: > > I am still not able to use TIni, "out of memory error still exists". > I am just using the Linux unit directly for now ;) Cliff can you send me the code that you are trying to use TIniFile with? Michael C. has managed to create a test program that can recreate a nasty bug buried somewhere in the ansistring code. He is trying to feret it out. I just want to see your code using TIniFile to determine if it is something more we can use to find the bug. Talk at you later, -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email

Cliff Baeseman

I can now read and write to a project file using the TProject object. I have to do some clean up and then it will be available for use.

So far I can read and write a int or a string which is good enough for just about anything we wish to do!

I am still not able to use TIni, "out of memory error still exists" . I am just using the Linux unit directly for now ;)

Shane, I plan on storing all of the compiler switches and all unit and library paths etc using this object.....

Have a RAD day!

Cliff

Reply by email

Michael A. Hess
to Cliff Baeseman
Cliff Baeseman wrote
I am still not able to use TIni, "out of memory error still exists". I am just using the Linux unit directly for now ;)

Cliff can you send me the code that you are trying to use TIniFile with? Michael C. has managed to create a test program that can recreate a nasty bug buried somewhere in the ansistring code. He is trying to feret it out. I just want to see your code using TIniFile to determine if it is something more we can use to find the bug.

Talk at you later,

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

Reply by email