-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Problem:
cant connect to the server 127.0.0.1
resolution:
the component TMySQLDatabase Cant connect to a IP Address, you need to
use the Hostname, is very strange, or a bug?
Greets marco
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Lin
Michael Van Canneyt wrote:
>On Tue, 7 Mar 2006, Marco Meile wrote:
>
>
>
yes i have rewritten for mail , is correct in the code.
>>>OK, but what does not work ?
>>>
>>>It works fine here ?
>>>
>>>Michael.
>>>
>>>
>>>
>>>
>>>
>>mysqldatabase1.hostname eg, is
On Tue, 7 Mar 2006, Marco Meile wrote:
> >>yes i have rewritten for mail , is correct in the code.
> >>
> >>
> >
> >OK, but what does not work ?
> >
> >It works fine here ?
> >
> >Michael.
> >
> >
> >
> mysqldatabase1.hostname eg, is already empfy after insert the value.
What is in the inifile
Michael Van Canneyt wrote:
>On Tue, 7 Mar 2006, Marco Meile wrote:
>
>
>
>>Michael Van Canneyt wrote:
>>
>>
>>
>>>On Tue, 7 Mar 2006, Marco Meile wrote:
>>>
>>>
>>>
>>>
>>>
Procedure Tform1.formshow(Sender: Tobject);
var
sec:string;
path:string:
ini:tinifile:
be
On Tue, 7 Mar 2006, Marco Meile wrote:
> Michael Van Canneyt wrote:
>
> >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');
> >>
> >
hmmm, wtf?
is this a joke?
Alain Michaud wrote:
>Hi,
>
> Tinifile works very well on linux! Here is an example on how I use it
>
>
>function PowertuxAlreadyRun(RS:char): boolean;
>var
>FCFGFile : TINIFile;
>...
>
>TMPStr := TUXHOMEDIRECTORY + '/ConfigurationFiles/PowerTux.cfg' ;
>FCFGFile:= Ti
thx, i love u
Alain Michaud wrote:
> Hi,
>
> Tinifile works very well on linux! Here is an example on how I use
> it
>
>
> function PowertuxAlreadyRun(RS:char): boolean; var FCFGFile :
> TINIFile; ...
>
> TMPStr := TUXHOMEDIRECTORY + '/ConfigurationFiles/PowerTux.cfg' ;
> FCFGFile:= Tinifile.crea
Hi,
Tinifile works very well on linux! Here is an example on how I use it
function PowertuxAlreadyRun(RS:char): boolean;
var
FCFGFile : TINIFile;
...
TMPStr := TUXHOMEDIRECTORY + '/ConfigurationFiles/PowerTux.cfg' ;
FCFGFile:= Tinifile.create(TMPStr);
...
if RS = 'R' then
begin {R}
Here is my complete Procedure Src Code.
http://www.rafb.net/paste/results/OKPJI562.html
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/
Michael Van Canneyt wrote:
>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 ?
>
>
yes
Marco Meile wrote:
Procedure Tform1.formshow(Sender: Tobject);
var
sec:string;
path:string:
ini:tinifile:
begin
init := Tinifile.create('notice.ini');
try
sec:= 'database';
mysqldatabase1.hostname :=
ini.readstring(Sec,'host','127.0.0.1');
finally
ini.freel;
e
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';
>
> mysqldataba
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael Van Canneyt wrote:
>
> On Tue, 7 Mar 2006, Marco Meile wrote:
>
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>>
>> hi list, i have some questions about the Ini file management in
>> Lazarus.
>>
>> i tryed to
>>
>> ini := Tinifile.Create('f
On Tue, 7 Mar 2006, Marco Meile wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> hi list, i have some questions about the Ini file management in Lazarus.
>
> i tryed to
>
> ini := Tinifile.Create('foo.ini'); but does not work, and
> extractfilepath works too not
The TIniFil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi list, i have some questions about the Ini file management in Lazarus.
i tryed to
ini := Tinifile.Create('foo.ini'); but does not work, and
extractfilepath works too not
anyone can post a example code for read config stings from a ini fi
15 matches
Mail list logo