Code for FiveWin IFDEF ?

Post Reply
User avatar
Jimmy
Posts: 165
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Code for FiveWin IFDEF ?

Post by Jimmy »

hi,

in my Source i have

Code: Select all

    #ifdef __CLIPPER__
   #ifdef __XPP__
   #ifdef __HARBOUR__ 
now while trying different IDE and Environment i like to ask if FiveWin have something like this :?:

i found

Code: Select all

    #ifdef FWPLUS
   #ifdef REVD1801
   #ifdef REVN1807
   #ifdef UPTO_FWH1105
but nothing with __FW__ :(

p.s. does Fivewin Code run under __XPP__ :?
greeting,
Jimmy
AntoninoP
Posts: 347
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy
Contact:

Re: Code for FiveWin IFDEF ?

Post by AntoninoP »

you can do ifdef with any define in fivewin.ch

Code: Select all

#ifdef _FIVEWIN_CH
#ifdef FWCOPYRIGHT
#ifdef FW_VersionNo
#ifdef FWVERSION
#ifdef FWDESCRIPTION
in our code we had some problem when they retired WndReadPalBmpEx so in our code we have:

Code: Select all

#if FW_VersionNo >= 18010
    nImage := FW_ReadImage( Self, cImage )[1]
#else
    nImage := WndReadPalBmpEx( Self, cImage )[1]
#endif
Post Reply