Patches item #3485016, was opened at 2012-02-06 08:38 Message generated for change (Comment added) made by millerpuckette You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3485016...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: feature
Status: Pending Resolution: Accepted
Priority: 7 Private: No Submitted By: Hans-Christoph Steiner (eighthave) Assigned to: Miller Puckette (millerpuckette) Summary: (Win) allow externals to load DLLs from the same folder
Initial Comment: In order to have objects like readanysf~ and purest_json work on Windows, they need to include DLLs for libraries like ffmpeg and curl. In order for the DLLs of the objects to load other DLLs from that same folder, SetDllDirectory() needs to be set first. This requires a minimum of Windows XP SP1 (10 years old at this point).
There are three patches included, the first sets up the new build system for this, the second sets up makefile.mingw for this. The third is the actual change to s_loader.c. I think MSVC sets WINVER automatically, but just be sure its set to 0x0502 for this to work.
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2012-08-31 17:21
Message: I think this is now patched (but quite messily so there might be mistakes). Some of it was already part of commit 5dadaf43c9206823b434d11c6cc6c6e6be020dc3
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette) Date: 2012-08-31 17:05
Message: I applied this messily - it seems a lot of the edits had already been applied - probably broke stuff but am not sure how to unwind this safely.
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette) Date: 2012-02-19 18:19
Message: drat, the "zip" file attached looks like empty HTML glueball.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3485016...