Hi DAW,
Is there a compiler variable/check between graphics library 2.6 and 3.0 ?
Currently the only feasible one is to use the "GDI_ERROR" definition.
Code:
#IFDEF GDI_ERROR
// 3.0
#ELSE
// 2.6
#ENDIF
The following would be nice:
#REPLACE GRAPHIC_LIB_VERSION |CI3
#REPLACE GRAPHIC_LIB_REVISION |CI0
The reason for this is because 3.0 is not fully compatible with 2.6, for starters:
1. ppImage has been changed to paImage (was a pointer but now is an address)
2. CreateImageFromStream does not exists anymore, replaced with a better CreateImageFromUCharArray
Thanks