sometime we need to keep the code compatible with 2 versions of fivewin, for example in 18.01 there is no more WndReadPalBmpEx that is replaced with FW_ReadImage.
in those case I would like write something like:
- Code: Select all Expand view RUN
- #if FWH_VER>=18
aBmpPal := FW_ReadImage(,cResName)
#else
aBmpPal := WndReadPalBmpEx(,cResName)
#endif
The problem is that there is no FWH_VER define, I think it would be useful in fivewin.h a define like:
- Code: Select all Expand view RUN
- #define FWH_VER 18.1
or better, splitted in 2 define.
Antonino