How do you build 32bit apps. in a 64bit machine?

How do you build 32bit apps. in a 64bit machine?
I was trying to install an old VCL component but I got the following error:

[dcc64 Fatal Error] ATReg.pas(20): E2213 Bad packaged unit format: c:\program files (x86)\embarcadero\studio\19.0\lib\win32\release\designide.dcp.DesignIntf - Expected version: 32.0, Windows Unicode(x64) Found version: 32.0, Windows Unicode(x86)

In the docuwiki this is all I found:

"For Win64 applications you need to create a 32-bit version of your component on this page of the wizard. Later you should compile your component again
as a Win64 component"
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/New_Component

In the options tool menu it list the win32 SDK but can't compile 32bits applications, I know using a 32bit OS to build 64bits apps it is necesary to connect to a 64bit machine but can't find info of doing it the other way, 64 to 32.



http://docwiki.embarcadero.com/RADStudio/Tokyo/en/New_Component

Comments

  1. David Millington I solved the problem by setting the PLATFORM variable to blank.
    Now the 64 local host machine produce 32bit and 64 code and I also tested it via the PAServer on Windows 7 and XP 32 bits and it works, smooth and fast.

    Thanks


    ReplyDelete
  2. Gil Padilla What was it set to? Some computers that come with preinstalled Windows (HP has done this) set this variable as well, which can cause trouble.

    ReplyDelete
  3. It was set to "Win64" and you are right it is a Desktop HP. I do not know if any other program set it up but it would be a good thing to check the first time before starting using Delphi.


    https://plus.google.com/photos/...

    ReplyDelete

Post a Comment