Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Win32 application run on 64bit PC



Permlink Replies: 3 - Last Post: Feb 5, 2018 11:59 AM Last Post By: Remy Lebeau (Te...
Enrico Pergola

Posts: 32
Registered: 7/15/04
Win32 application run on 64bit PC
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 2, 2018 1:24 PM
HI.
An application created and compiled in a 32 bit PC can be run safely on a 64bit PC?
Specifically, would print jobs be affected? or would they print just the same on the 2 PC's (font wise)?
--
E.P.

Edited by: Enrico Pergola on Feb 2, 2018 1:49 PM
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Win32 application run on 64bit PC [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 2, 2018 4:47 PM   in response to: Enrico Pergola in response to: Enrico Pergola
Enrico Pergola wrote:

An application created and compiled in a 32 bit PC can be run safely
on a 64bit PC?

Regardless of the PC's architecture, is the application itself compiled
as 32bit or 64bit? A 32bit PC can compile source code into a 64bit
executable using a compiler that knows how to output 64bit machine code
(in C++Builder's case, that would be the BCC64 and BCCIOSARM64
compilers, for now).

If the application is compiled as a 32bit Windows app, then it can run
on any Windows 64bit PC that has the WOW64 emulator installed. WOW64
is mandatory in most Windows 64bit systems, except for Server Core
editions starting with Windows Server 2008 R2, where WOW64 is optional.

Specifically, would print jobs be affected?

No. Why would you think they would be?

or would they print just the same on the 2 PC's (font wise)?

Yes, of course they would. The underlying print APIs are the same
whether they are used in 32bit or 64bit versions.

--
Remy Lebeau (TeamB)
Enrico Pergola

Posts: 32
Registered: 7/15/04
Re: Win32 application run on 64bit PC
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 4, 2018 11:32 AM   in response to: Enrico Pergola in response to: Enrico Pergola
Thanks Remy.
In the EPSON Receipt settings there is this Enrironment Features list. One is:

Supports EPSON print driver for 32 bit version OS
Selectable when installing from 64 bit version OS

Which seems that if not selected, then printing from a 32bit compiled app
would not work (in my case it prints with device fonts, rather than Arial
that the printer.canvas is set to. As if the driver does not "know" the Arial font and reverts to the default).
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Win32 application run on 64bit PC
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 5, 2018 11:59 AM   in response to: Enrico Pergola in response to: Enrico Pergola
Enrico Pergola wrote:

In the EPSON Receipt settings there is this Enrironment Features
list. One is:

Supports EPSON print driver for 32 bit version OS
Selectable when installing from 64 bit version OS

Which seems that if not selected, then printing from a 32bit compiled
app would not work (in my case it prints with device fonts, rather
than Arial that the printer.canvas is set to. As if the driver does
not "know" the Arial font and reverts to the default).

Obviously, a 32bit app can't use 64bit drivers, and vice versa, so you
need the 32bit driver installed if you compile your app as 32bit. That
issue has nothing to do with Delphi itself.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02