PB6.10+ ARM : DYLIB cannot be loaded from C++ (QT)
Posted: Fri Nov 15, 2024 4:13 pm
The following code compiled as a shared dylib with PB6.10 ARM (and newer) cannot be opened by a C++ (QT) program. (QLibrary.load() never returns).
The problem does not exist if compiled with PB6.04 ARM.
GetCurrentDirectory() is a content that allow to reproduce but it is not the only one.
The problem does not exist if compiled with PB6.04 ARM.
GetCurrentDirectory() is a content that allow to reproduce but it is not the only one.
Code: Select all
ProcedureDLL EFK_open()
Define a$ = GetCurrentDirectory()
EndProcedure
; IDE Options = PureBasic 6.11 LTS - C Backend (MacOS X - arm64)
; ExecutableFormat = Shared .dylib