When running the PB 2022 R3 IDE in x86 mode, if I run my application, I get an error calling external function %s. This DLL works fine with PB 12.5. Are there any requirements for DLLs with PB 2022 R3?
When running the PB 2022 R3 IDE in x86 mode, if I run my application, I get an error calling external function %s. This DLL works fine with PB 12.5. Are there any requirements for DLLs with PB 2022 R3?
I forgot to publish my developer environment.
Apple iMac M1
Parallels VM
Windows 11 ARM
Hi, Robert -
What software (Visual Studio, perchance?) and version are you using to create the DLL?
Can you please supply the function's prototype for the DLL function you are calling, and also the external function declaration in PB for that DLL function?
From the first post: When running the PB 2022 R3 IDE in x86 mode. Yes it's in the directory, I even put the full path to the DLL in the declaration just in case. Running in x86 mode with x86 dll that works in PB 12.5 application. I will make a x64 version to see if there is a bug in the IDE where it wants x64 dll.
no. there are 0 differences in that regard.
you either:
1 - are running 64 bit pb and the dll is 32 bit (or 32bit pb and dll is 64bit)
2 - do not have the dll in the application directory or in the system path
To quote Chris Pollach's response from a Mac/ARM/Parallels question last week (https://community.appeon.com/index.php/qna/q-a/run-powerbuilder-in-macos-m3-harware-using-parallels):
"Both the PB IDE & runtime are built using Microsoft C++ 2022 (in PB 2022 R3), and require an Intel or Intel compliant CPU in order to run."