November 27, 20241 yr Hi, which compiler directive is used to detect FGX Framework among FMX and VCL. thanks
November 27, 20241 yr Administrators Hello, It's typical misunderstood between runtime and compile time. We don't use any directives, like FMX and VCL, to separate them somehow. Because you can use FMX and VCL together in the same project. Therefore, at the compilation stage, you choose the directives for the internal definition of what you are building. So the choice depends on you personally. Thank you
November 27, 20241 yr Author thanks for your reply i have an lib which support android platform using FMX, now i want to change the source .pas files to support FGX platform. the difference is in TBitmap usage. how i can detect that current platform is FGX to change definition of TBitmap object. thanks
November 30, 20241 yr Administrators Hello, On 11/28/2024 at 1:59 AM, mahmoudikia said: how i can detect that current platform is FGX to change definition of TBitmap object. I repeat, this is not possible at the compilation stage. Because the define is declared either at the source code level, which is compiled or through the project settings. How do you do it for VCL and FMX? Thank you
Create an account or sign in to comment