We recently made the switch to Powerbuilder 2019 R2 and started building in 64 bit.
We have several programs that use external fucntion calls. These now cause the program to crash when running the exe. The IDE works but I believe that's because it's using the 32 bit call still.
Here is an example of one of the external calls we've setup:
Subroutine CopyMemoryIP (ref str_hostent Destination , ulong Source, long Length) Library "KERNEL32.DLL" Alias for "RtlMoveMemory;Ansi"
Subroutine CopyMemoryIP (ref blob Destination , ulong Source, long Length) Library "KERNEL32.DLL" Alias for RtlMoveMemory
Subroutine CopyMemoryIP (ref character Destination[4] , ulong Source, long Length) Library "KERNEL32.DLL" Alias for "RtlMoveMemory;Ansi"
Subroutine CopyMemoryIP (ref ulong Destination , ulong Source, long Length) Library "KERNEL32.DLL" Alias for RtlMoveMemory
Here's an example of the errors:
Executing object function COPYMEMORYIP for class N_CST_WSOCK32, lib entry N_CST_WSOCK32
Executing object function +CREATE for class RUNTIMEERROR, lib entry _TYPEDEF
Executing instruction at line 11925
Executing object function RUNTIMEERRORCREATE for class RUNTIMEERROR, lib entry _TYPEDEF
Executing system dll function
End class function RUNTIMEERRORCREATE for class RUNTIMEERROR, lib entry _TYPEDEF
Executing instruction at line 11926
End class function +CREATE for class RUNTIMEERROR, lib entry _TYPEDEF
Any suggestions would be greatly appreciated!
Thank you!