[Lazarus] Creating dbexport component: no icon

Reinier Olislagers reinierolislagers at gmail.com
Fri Sep 16 17:11:55 CEST 2011


On 16-9-2011 16:31, Vincent Snijders wrote:
> This XML dataset export is only available in fpc 2.7.1, not in 2.5.1, is it?
Yes, it's available in 2.7.1 but it was put in before the 2.6.0 cutoff:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/fixes_2_6/packages/fcl-db/src/export/fpxmlxsdexport.pp?view=log

> Then I would do something like
>> {$IFDEF VER2_6_0}
>> {$DEFINE HASXMLXSDEXPORT}
>> {$ENDIF}
> 
> 
> If it is available in 2.5.1, then
> {$IFNDEF $VER2_4}
> {$DEFINE HASXMLXSDEXPORT}
> {$ENDIF}
Fair enough. Maybe it's time for some new compiler constants, or
inequality operators in IFDEFs ;)
> 
> Vincent
> 
Thanks for the help, Vincent.
Uploaded as mantis 20275:
http://bugs.freepascal.org/view.php?id=20275

Groeten,
Reinier




More information about the Lazarus mailing list