13

As stated in RAD Studio docwiki, to migrate 32 bit VCL application to 64 bit:

Open your 32-bit application in the IDE, add and activate the 64-bit target platform, and compile your application as a 64-bit application.

I have a project group that contain more than 200 32-bits projects. In order to support 64 bits, I need to add the 64 bit target platform one by one.

Is there a faster way to add 64 bit target platform ?

ain
  • 22,394
  • 3
  • 54
  • 74
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132

2 Answers2

17

You would have to write (or find) a utlity app that loops through the .dproj files of the Project Group updating the settings as needed. There is no built-in functionality to automate that.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770
  • 1
    Although not yet for this purpose, we use Funduc Search & Replace to update delphi project files, doing things like altering search paths and version info, when we create new branches. Sounds like a good job for that utility. http://www.funduc.com/search_replace.htm – Chris Thornton Sep 03 '11 at 16:08
  • 2
    Just for the record the entry you want to change is: False to make it True – Mark Edington Sep 15 '11 at 05:33
10

As per the release notes, the JCL 2.3.1.4197 version includes a new unit JclMsBuild to query and update MsBuild files. Maybe this unit can be used to write a simple upgrade tool.

mjn
  • 36,362
  • 28
  • 176
  • 378