I need to call Log.d that is defined inside FMX.Types. However my project is not a Firemonkey project, it's a VCL project. It compiles and works as expected but I receive this warning :
[dcc64 Hint] H2161 Warning: Duplicate resource: Type 12 (CURSOR GROUP), ID 32761; File c:\program files (x86)\embarcadero\studio\18.0\lib\Win64\release\FMX.Controls.Win.res resource kept; file c:\program files (x86)\embarcadero\studio\18.0\lib\Win64\release\Controls.res resource discarded.
Is their any global define that could indicate that the project is a VCL project so that I can omit to use FMX.Types and Log.d on VCL project ?
OutputDebugStringinstead of worrying about callingLog.d, thereby negating the need to pull in that FMX unit?Log.dcallsOutputDebugStringon Windows - you could easily make a wrapper routine that took similar parameters toLog.d. The conundrum then vanishes. - blong