RTC Forums
June 17, 2024, 05:05:24 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
   Home   Help Login Register  
Pages: [1]
Author Topic: Solving the "greyed-out" RTC components problem in Delphi XE2  (Read 15272 times)
D.Tkalcec (RTC)
Posts: 1881

« 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
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.021 seconds with 16 queries.