That's a good point ;) But at least for linux/i386 it should be enough.
Since I knew FPC and the good feeling of knowing that my applications are able
to run on more than 9 platforms, I prefer my applications at least can be run on
3 platforms, they are: win32-i386, linux-i386 (all distros), a
Bisma Jayadi wrote:
>> This is not true. FPC can usually use inline assembler written for
>> delphi when
>> {$mode delphi} and {$asmmode intel} is used.
>
> It probably is, though when I use these modes, FPC failed to compile
> TjanSQL class. I couldn't fix it ('cause I ain't an assembler expert).
This is not true. FPC can usually use inline assembler written for delphi when
{$mode delphi} and {$asmmode intel} is used.
It probably is, though when I use these modes, FPC failed to compile TjanSQL
class. I couldn't fix it ('cause I ain't an assembler expert). And I also don't
want it's sol
Michael Van Canneyt wrote:
>
>
> On Mon, 20 Mar 2006, Bisma Jayadi wrote:
>
>> Hi all...
>>
>> I found TjanSQL from http://jansfreeware.com. It's a small-text-based
>> custom database component with SQL ability. The database itself is a
>> comma separated value (csv) text file. I think this comp
You forgot the {$H+} in jansql: the strings are different.
Stupid me! :D I missed the '$' in janSQL unit! :p
I wrote {H+} instead of {$H+}. Never thought that kind of mistake. I've search
hints from FPC docs for hours for more "intellegent" mistake. :D
Problem solved! janSQL and the demo app
> > Can you give the whole error message ?
>
> FEParser.onGetVariable:=getvariable;
>
> C:\Trash\janSQL\components\janSQL.pas(462,40) Error: Incompatible type for
> arg
> no. 1: Got "TjanSQL.getvariable(TObject,const AnsiString,var Variant,var
> Boolean)", expected " ShortString,var Variant,v
On Tue, 21 Mar 2006, Bisma Jayadi wrote:
Can you give the whole error message ?
FEParser.onGetVariable:=getvariable;
C:\Trash\janSQL\components\janSQL.pas(462,40) Error: Incompatible type for
arg no. 1: Got "TjanSQL.getvariable(TObject,const AnsiString,var Variant,var
Boolean)", expected
> Can you give the whole error message ?
FEParser.onGetVariable:=getvariable;
C:\Trash\janSQL\components\janSQL.pas(462,40) Error: Incompatible type for arg
no. 1: Got "TjanSQL.getvariable(TObject,const AnsiString,var Variant,var
Boolean)", expected "ShortString,var Variant,var Boolean) of obj
On Tue, 21 Mar 2006, Bisma Jayadi wrote:
Turn on delphi mode for the package and/or add {$mode delphi} everywhere.
(big chance that you have to change the @'s back).
I just did this, turn on Delphi mode on every single unit. To make sure the
class is compiled correctly, though I'd change th
FEParser.onGetVariable:=getvariable();
Not work. The same error message. :(
-Bee-
has Bee.ography at
http://beeography.wordpress.com
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pasca
On Tue, 21 Mar 2006, Bisma Jayadi wrote:
Turn on delphi mode for the package and/or add {$mode delphi} everywhere.
(big chance that you have to change the @'s back).
I just did this, turn on Delphi mode on every single unit. To make sure the
class is compiled correctly, though I'd change th
Turn on delphi mode for the package and/or add {$mode delphi} everywhere.
(big chance that you have to change the @'s back).
I just did this, turn on Delphi mode on every single unit. To make sure the
class is compiled correctly, though I'd change them later to FPC_OBJFPC mode for
better and c
> > If you are referring to the posstr functions, try replacing them with
> > the PosEx() function in strutils.
>
> - And I have to add Delphi mode directive on mwStringHashList unit, because
> without it FPC failed to compile the unit (because some kind of pointer
> things
> related).
Turn on
If you are referring to the posstr functions, try replacing them with
the PosEx() function in strutils.
Finally, I succeed to compile TjanSQL class on Lazarus 0.9.13 (FPC 2.1.1
2006/03/10). These are what I did:
- I've changed the PosStr() and PosText() functions in janSQLStrings unit with
the
On Mon, 20 Mar 2006, Bisma Jayadi wrote:
Hi all...
I found TjanSQL from http://jansfreeware.com. It's a small-text-based custom
database component with SQL ability. The database itself is a comma separated
value (csv) text file. I think this component is better than the TSDFDataSet
(separa
Hi all...
I found TjanSQL from http://jansfreeware.com. It's a small-text-based custom
database component with SQL ability. The database itself is a comma separated
value (csv) text file. I think this component is better than the TSDFDataSet
(separated data file) or TFDFData (fixed data format
16 matches
Mail list logo