Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: Converting 32 bit application to 64 bit



Permlink Replies: 6 - Last Post: Jan 4, 2018 10:51 PM Last Post By: Alex Belo
Minh Ho

Posts: 14
Registered: 12/22/05
Converting 32 bit application to 64 bit
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 6:43 AM
I'm working to convert our 32 bit application to 64 bit so I have few questions that I hope someone would help me to answer it:
1. Are there any real advantages in converting to 64 bit?
2. Do I need a separate box for 64 bit development?
3. Do I need to convert in-house packages and 3rd party components (BDE, fastreports,infopower,Devart ODAC) to 64 bit?

By the way, I'm using Delphi XE7.

Thank you so much for the help.
Minh
Lajos Juhasz

Posts: 801
Registered: 3/14/14
Re: Converting 32 bit application to 64 bit
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 7:47 AM   in response to: Minh Ho in response to: Minh Ho
Minh Ho wrote:

I'm working to convert our 32 bit application to 64 bit so I have few
questions that I hope someone would help me to answer it: 1. Are
there any real advantages in converting to 64 bit? 2. Do I need a
separate box for 64 bit development? 3. Do I need to convert
in-house packages and 3rd party components (BDE,
fastreports,infopower,Devart ODAC) to 64 bit?

By the way, I'm using Delphi XE7.

Thank you so much for the help.
Minh

1.) Advantages could be: more memory and registers.

2.) You need only a 64 bit OS in order to execute exe files.

3.) You would have to validate/check whenever a component is 64 bit
compatible. For example, BDE was deprecated before Delphi could produce
a 64 bit exe - you're out of luck there will be never a 64 bit version
of it.
Minh Ho

Posts: 14
Registered: 12/22/05
Re: Converting 32 bit application to 64 bit
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 8:05 AM   in response to: Lajos Juhasz in response to: Lajos Juhasz
Thank you so much for your answers.

On # 2. Let's say, I convert all my packages and 3rd party components to 64 bit and install on my current development box, would this box still be compatible for 32 bit development work? Or do I need a separate development box with 32 bit components for 32 bit development work?

Thanks
Again.

Lajos Juhasz wrote:
Minh Ho wrote:

I'm working to convert our 32 bit application to 64 bit so I have few
questions that I hope someone would help me to answer it: 1. Are
there any real advantages in converting to 64 bit? 2. Do I need a
separate box for 64 bit development? 3. Do I need to convert
in-house packages and 3rd party components (BDE,
fastreports,infopower,Devart ODAC) to 64 bit?

By the way, I'm using Delphi XE7.

Thank you so much for the help.
Minh

1.) Advantages could be: more memory and registers.

2.) You need only a 64 bit OS in order to execute exe files.

3.) You would have to validate/check whenever a component is 64 bit
compatible. For example, BDE was deprecated before Delphi could produce
a 64 bit exe - you're out of luck there will be never a 64 bit version
of it.
Mitch Wolberg

Posts: 18
Registered: 6/9/97
Re: Converting 32 bit application to 64 bit
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 9:07 AM   in response to: Minh Ho in response to: Minh Ho
No you can develop both 32 and 64 bit builds without a separate machine
or Delphi installation.

Mitch

On 1/4/2018 9:05 AM, Minh Ho wrote:
Thank you so much for your answers.

On # 2. Let's say, I convert all my packages and 3rd party components to 64 bit and install on my current development box, would this box still be compatible for 32 bit development work? Or do I need a separate development box with 32 bit components for 32 bit development work?

Thanks
Again.

Lajos Juhasz wrote:
Minh Ho wrote:

I'm working to convert our 32 bit application to 64 bit so I have few
questions that I hope someone would help me to answer it: 1. Are
there any real advantages in converting to 64 bit? 2. Do I need a
separate box for 64 bit development? 3. Do I need to convert
in-house packages and 3rd party components (BDE,
fastreports,infopower,Devart ODAC) to 64 bit?

By the way, I'm using Delphi XE7.

Thank you so much for the help.
Minh

1.) Advantages could be: more memory and registers.

2.) You need only a 64 bit OS in order to execute exe files.

3.) You would have to validate/check whenever a component is 64 bit
compatible. For example, BDE was deprecated before Delphi could produce
a 64 bit exe - you're out of luck there will be never a 64 bit version
of it.
Jeff Overcash (...

Posts: 1,529
Registered: 9/23/99
Re: Converting 32 bit application to 64 bit
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 9:51 AM   in response to: Minh Ho in response to: Minh Ho
On 1/4/2018 11:05 AM, Minh Ho wrote:
Thank you so much for your answers.

On # 2. Let's say, I convert all my packages and 3rd party components to 64 bit and install on my current development box, would this box still be compatible for 32 bit development work? Or do I need a separate development box with 32 bit components for 32 bit development work?

As long as you do it correctly. You need to put the 32 bit dcu/bpl/dcp's in one
directory structure and the 64 bit ones in another and your 32 libraries path
should point to the 32 bit one and the 64 bit library path to the 64 bit ones.
Often this is done by setting hte output directory and using the $(PLATFORM)
global. So it can have the same base, but will put it in the Win32 sub
directory for 32 bits and Win64 for 64 bits.

You can look under your BDS\Lib directory to see how Embarcadero segregated this
for the shipping libraries.


Thanks
Again.

Lajos Juhasz wrote:
Minh Ho wrote:

I'm working to convert our 32 bit application to 64 bit so I have few
questions that I hope someone would help me to answer it: 1. Are
there any real advantages in converting to 64 bit? 2. Do I need a
separate box for 64 bit development? 3. Do I need to convert
in-house packages and 3rd party components (BDE,
fastreports,infopower,Devart ODAC) to 64 bit?

By the way, I'm using Delphi XE7.

Thank you so much for the help.
Minh

1.) Advantages could be: more memory and registers.

2.) You need only a 64 bit OS in order to execute exe files.

3.) You would have to validate/check whenever a component is 64 bit
compatible. For example, BDE was deprecated before Delphi could produce
a 64 bit exe - you're out of luck there will be never a 64 bit version
of it.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
Learning is finding out what you already know. Doing is demonstrating that you
know it. Teaching is reminding others that they know it as well as you. We are
all leaners, doers, teachers. (R Bach)

Minh Ho

Posts: 14
Registered: 12/22/05
Re: Converting 32 bit application to 64 bit
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 11:05 AM   in response to: Jeff Overcash (... in response to: Jeff Overcash (...
Thank you very much.

Jeff Overcash (TeamB) wrote:
On 1/4/2018 11:05 AM, Minh Ho wrote:
Thank you so much for your answers.

On # 2. Let's say, I convert all my packages and 3rd party components to 64 bit and install on my current development box, would this box still be compatible for 32 bit development work? Or do I need a separate development box with 32 bit components for 32 bit development work?

As long as you do it correctly. You need to put the 32 bit dcu/bpl/dcp's in one
directory structure and the 64 bit ones in another and your 32 libraries path
should point to the 32 bit one and the 64 bit library path to the 64 bit ones.
Often this is done by setting hte output directory and using the $(PLATFORM)
global. So it can have the same base, but will put it in the Win32 sub
directory for 32 bits and Win64 for 64 bits.

You can look under your BDS\Lib directory to see how Embarcadero segregated this
for the shipping libraries.


Thanks
Again.

Lajos Juhasz wrote:
Minh Ho wrote:

I'm working to convert our 32 bit application to 64 bit so I have few
questions that I hope someone would help me to answer it: 1. Are
there any real advantages in converting to 64 bit? 2. Do I need a
separate box for 64 bit development? 3. Do I need to convert
in-house packages and 3rd party components (BDE,
fastreports,infopower,Devart ODAC) to 64 bit?

By the way, I'm using Delphi XE7.

Thank you so much for the help.
Minh

1.) Advantages could be: more memory and registers.

2.) You need only a 64 bit OS in order to execute exe files.

3.) You would have to validate/check whenever a component is 64 bit
compatible. For example, BDE was deprecated before Delphi could produce
a 64 bit exe - you're out of luck there will be never a 64 bit version
of it.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
Learning is finding out what you already know. Doing is demonstrating that you
know it. Teaching is reminding others that they know it as well as you. We are
all leaners, doers, teachers. (R Bach)

Alex Belo

Posts: 626
Registered: 10/8/06
Re: Converting 32 bit application to 64 bit
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 10:51 PM   in response to: Minh Ho in response to: Minh Ho
Minh Ho wrote:

1. Are there any real advantages in converting to 64 bit?

Depends on your needs.

One of notable things is: 64-bit compilers do not support extended
floating point math (including intermediate results in FPU) so floating
point calculation accuracy is lower and sometimes calculations are
slower.

--
Alex
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02