On Tue, 7 Mar 2006, Marco Meile wrote:

> Procedure Tform1.formshow(Sender: Tobject);
> var
> sec:string;
> path:string:
> ini:tinifile:
> begin
>     init := Tinifile.create('notice.ini');

This can't compile. it should be ini, not init ?

>     try
>        sec:= 'database';
>
>     mysqldatabase1.hostname      :=
> ini.readstring(Sec,'host','127.0.0.1');
>     finally
>     ini.freel;

what is freel ?

>     end;
> end;
>
>
> This is My Code, and this Does NOT work

What exactly does not work ? You must provide more information.

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to