RTC Forums

Dashboard => Quick Start => Topic started by: D.Tkalcec (RTC) on November 07, 2011, 10:01:07 PM



Title: Solving the "greyed-out" RTC components problem in Delphi XE2
Post by: D.Tkalcec (RTC) on November 07, 2011, 10:01:07 PM
There is currently a problem with Delphi XE2 when working on a FireMonkey iOS Project, where RealThinClient components become greyed-out after you close the project and open it again. Fortunately, there is also a simple solution for this, which doesn't seem to have any negative side-effects.

To get around this problem, close the FireMonkey iOS Project and delete its ".dproj" file. Then open the Project again by using the ".dpr" file (can't open it with the ".dproj" file now, since it will be gone) and Delphi will recreate the ".dproj" file for you. After that, RTC components will NOT be greyed-out anymore and you will be able to use them in your FireMonkey iOS Project again. Closing and opening that project once the ".dproj" file has been recreated won't cause RealThinClient components to become greyed-out anymore.

The only side-effect I've noticed after the ".dproj" file was recreated is that your FireMonkey iOS Project will get a new "Target Platforms" node, with "Win32" being the default entry. As long as you don't change the Target Platform (in which case your Project wouldn't compile, since only Win32 compilation is supported from within Delphi), it shouldn't have any negative side-affects. At least I haven't seen any so far.

Best Regards,
Danijel Tkalcec