Using a unit for both standard windows application and firemonkey mobile application [closed]


I am using Delphi Xe5 for both windows and Firemonkey mobile applications.

I have a unit I share among two different projects in my projects group. (Windows Application and a Firemonkey Mobile Application)

1.) How do I determine the version of Delphi Xe5 ? Or, what is the version?

2.) Is there a way to determine between a Win 32 application,. Win 64 Application, and Firemonkey mobile Application

3.) In code, how do I tell the compiler which version of Dialogs to use based on the type of my app. That is VCL.Dialogs (Windows App) versus FMX.Dialogs (Firemonkey Mobile App)

Thanks you

Comments are closed.