We already use getLastError() / errno... The error code/message is not specific enough.
Again, I already have the necessary architecture detection code, and if people don't consider it overkill, I could try to integrate it into Pd.
Christof
On 28.05.2020 21:48, Martin Peach wrote:
On Thu, May 28, 2020 at 2:53 PM IOhannes m zmölnig zmoelnig@iem.at wrote:
the more complicated part is the first one, as it requires to actually open the file that dlopen()/LoadLibrary() could not open and inspect the binary data to understand the architecture of the blob.
Perhaps getLastError() or errno would give a clue after the calls to dlopen()/LoadLibrary() fail, without needing to inspect the file. Usually there are a few different errors possible.
Martin
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev