- Aimee Stephens
- PowerBuilder
- Tuesday, 20 December 2022 06:07 PM UTC
We've converting our backend system from MF COBOL 32 bit to Veryant 64 bit. When we try to run with the 64 bit PB, 64 bit Veryant and 64 bit DLLs we get the "Error opening DLL" message. The DLL is wrapped for Veryant and the person responsible for the DLL says that it's a PB issue. I'm sure that's possible but to me seems odd because:
We can run our current 32 bit PB agains our current 32 bit MF COBOL AND the 32 bit C++ DLL,
**We can run our current 32 bit PB against the NEW 32 bit Veryant AND the NEW 32 bit wrapped C++ DLL,
We can run our current 64 bit PB against our current 64 bit MF COBOL AND the recompiled 64 bit C++ DLL, BUT
We CANNOT run our 64 bit PB against the new 64 bit Veryant with the new 64 bit wrapped C++ DLL
I tried adding progma_pack(1) to the end of the external function call along with checking the Tool-->System Options-->Use 1-byte structure member alignment in external function option but that didn't make a difference. The function returns an int (0 or 1).
What could possibly make the 64 bit wrapped DLL different than the non-wrapped 64 bit DLL that I am able to call? And if there's some sort of issue with Veryant, why cam I able to call the 32 bit wrapped DLL?
Using PB 2022 Build 1878
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.