Delphi Tip if you get “unit vcl.filectrl is specific to a platform” warning

The warning “unit vcl.filectrl is specific to a platform” is Delphi’s way of giving you heads up that the addition of one of the few components such as TDRIVECOMBOBOX will not work on other platforms besides a Windows environment.

To remove this type of warning during the application build cycle just do the following in your code:

unit uDashboard;



This will remove the warning message and not destroy the application integrity. The lab found that by placing it under the interface section the warning went away but if you place it under the implementation as displayed below the warning was still seen. It does make sense to place prior to the uses clause since the compiler will first see that you want to turn off the warning before compiling vcl.filectrl.


{$R *.dfm}