[PD-dev] [ pure-data-Patches-3485016 ] (Win) allow externals to load DLLs from the same folder

SourceForge.net noreply at sourceforge.net
Mon Feb 20 03:19:45 CET 2012


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&group_id=55736

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: Open
Resolution: None
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-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&group_id=55736



More information about the Pd-dev mailing list