[Lazarus] Creating dbexport component: no icon
Vincent Snijders
vincent.snijders at gmail.com
Fri Sep 16 16:31:44 CEST 2011
2011/9/16 Reinier Olislagers <reinierolislagers at gmail.com>:
> On 16-9-2011 15:27, Vincent Snijders wrote:
>> 2011/9/16 Reinier Olislagers <reinierolislagers at gmail.com>:
>>>
>> Use conditional compilation in the sqldb package:
I wanted to says:
Use conditional compilation *like* in the sqldb package:
>> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/sqldb/registersqldb.pas?view=markup&root=lazarus
>>
>> Vincent
> Not sure if I get what you mean: I modified SQLDB to something like
> ....
This XML dataset export is only available in fpc 2.7.1, not in 2.5.1, is it?
Then I would do something like
{$IF $FPCFULLVERSION > 20700}
{$DEFINE HASXMLXSDEXPORT}
{$ENDIF}
> {$IFDEF VER2_6_0}
> {$DEFINE HASXMLXSDEXPORT}
> {$ENDIF}
If it is available in 2.5.1, then
{$IFNDEF $VER2_4}
{$DEFINE HASXMLXSDEXPORT}
{$ENDIF}
Vincent
More information about the Lazarus
mailing list