Skip to main content

Can a 64-bit program call a 32-bit program or vice versa?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Can a 64-bit program call a 32-bit program or vice versa?

Resolution:

It is not possible for 64-bit to call 32-bit or vice versa.

The documentations also state:

--------------------------------------------------------------------------------

The Compiler directive P64 enables you to create a program that can be run on Micro Focus Server in 64-bit mode. If you do not use the P64 directive when you compile your program, the program can only be run on Micro Focus Server in 32-bit mode. Therefore, if you have developed an application on a 32-bit development system, you must recompile it with the P64 directive set, if you want to migrate it using Micro Focus Server in 64-bit mode.

--------------------------------------------------------------------------------

And

--------------------------------------------------------------------------------

You cannot port executable code between 32-bit and 64-bit development systems.

--------------------------------------------------------------------------------

Old KB# 4389