So ... is there some trick I can use to force Minuit.dll and Slatec.dll to load the libgcc_s_sjlj-1.dll that sits next to them, instead of using the libgcc_s_sjlj-1.dll that Strawberry perl has already loaded ?The answer is "yes" - and it turns out to be a very simple trick, which comes courtesy of Mark Dootson (again):
Firstly rename libgcc_s_sjlj-1.dll to something that has the same number of characters (eg libgcc_sis__470.dll).
Secondly, in Slatec.dll and Minuit.dll
s/libgcc_s_sjlj\-1\.dll/libgcc_sis__470\.dll/g
That done, and as long as Slatec.dll and Minuit.dll can find libgcc_sis__470.dll, there's no problem.
I don't know how that sort of fix sits with others - but it fits
right in with the way I like to do things.
Mark did say he had first tried solving the problem using manifests, but found that "that private manifests (load a dll from a specific
location) only work at the whole application level" - which put an end to his endeavours with manifests.
Thanks for the inputs from
BrowserUk and
bulk88.
I feel bad when people put a lot of effort into helping me out with various approaches .... and then I go and use a completely different solution :-(
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.