Here's an idea, what if I stuck msvcr*dll in a separate directory and called SetDllDirectory another time in s_loader.c to allow externs to find it if they need it?
hmm, but SetDllDirectory() only allows us to specify a single additional directory (calling it multiple times will just change this single directory). and we already need it for specifying the plugin-path, so the external can ship its own dependencies - beyond msvcrt.dll
fgmdars IOhannes
Lame fix would be to try it twice, first the "good" way (looking where the extern is), then as a backup, in .../pd/bullshit where I could hide the old DLs.
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev