I have build my PB project using 64 bit and it is not working where I have build the same code with 32 bit it is working. Can some one will help in the regard. Do we need to import any files for 64 bit complaint.
I have build my PB project using 64 bit and it is not working where I have build the same code with 32 bit it is working. Can some one will help in the regard. Do we need to import any files for 64 bit complaint.
Hi Mohan;
AFAIK I do not believe that the PFC is 100% 64bit compliant.
FWIW: I had to change my App framework to use the GlobalMemoryStatusEx command instead. However, when using that SDK method, you can use it with both 32 & 64bit Apps, as follows:
HTH
Regards ... Cris
I am getting diffrent values from this function while executing from development version I am getting one value while executing from commandline prompt I am getting another value.
After some investigarion I found some issue inthe pfc library casuing by below code. Do I need to change the below for 64 bit build
A 64bit app uses a different set of runtime dll files. The 64bit runtimes are in:
C:\Program Files (x86)\Appeon\Shared\PowerBuilder\x64
This is not documented anywhere but PBD files can be shared between 32bit and 64bit exes.
Some Windows API functions will need to be changed to work in 64bit. Any argument that is described as a handle in the Microsoft documentation needs to be defined as longptr. A longptr compiles as long for 32bit and longlong for 64bit.
Mohan,
Try the following.
1. Open Windows Search and search for "PowerBuilder Runtime Packager"
2. Run the PowerBuilder Runtime Packager
3. Select "PowerBuilder 64-bit Components"
4. Create the .MSI file
5. Run the .MSI file to install the PowerBuilder 64-bit Runtime
6. Attempt to run your 64-Bit PowerBuilder application.
Define 'not working'.
Are you running it on the same machine that you developed on?
A 64bit exe needs a 64bit database connection, maybe that is your problem.