Re: Windows MAGICK_CONFIGURE_PATH options
Bob Friesenhahn <[email protected]> Fri, 6 Mar 2020 10:56:15 -0600 (CST)
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 6 Mar 2020, 10bxjfhf wrote: > > Unfortunately that does not work, unless I can reset the data set when the > system loads the app and initializes the DLL from a user call. As a reminder (from previous email), the DLL initialization which is causing problems for you can be disabled by editing magick/magick_config.h to undefine ProvideDllMain: ///////////// // // ProvideDllMain // // When building GraphicsMagick using DLLs, include a DllMain() // function which automatically invokes InitializeMagick(NULL), and // DestroyMagick() so that the user doesn't need to. Note that // repeated calls to InitializeMagick() are ignored so if a path must // be passed to InitializeMagick(), then disable this setting. #define ProvideDllMain Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt