<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p></p>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">in this
case, the "put it besides the exe" might work or not (e.g. afaik, Pd
will *not* find externals you put in the same path as pd.exe).</pre>
</blockquote>
The thing with Windows is this as a general rule:
<p></p>
<p>1) Pd loads an external (gem.dll for example)</p>
<p>2) if the external is calling a dependency dll (i.e gem.dll is calling foo.dll) there are certain places Windows will auto-handle (not sure which order)</p>
<p>3) A - the same dir as the calling dll, in this case the same dir as gem.dll.</p>
<p>3) B - the same dir as the main.exe, in this case next to pd.exe.</p>
<p>3) C - global system folders as "C:\Windows\System32" or "C:\Windows\SysWOW64", this last is tricky as this is the correct place where 32bit.dll's should go on a 64bit-OS. "syswow64" stands for "Windows On Windows 64" here goes 32bit dlls. On a 64bit-OS
 "system32" holds 64bit dlls.</p>
<p><br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
<div class="moz-cite-prefix">On 11/28/2018 5:47 PM, IOhannes m zmölnig wrote:<br>
</div>
<blockquote type="cite" cite="mid:9db6ffb9-5faa-ea2c-d807-cd2e466c85fc@iem.at">
<pre class="moz-quote-pre" wrap="">On 11/28/18 7:49 PM, me.grimm wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">when does your class start?

i think antoine is right... DLL's can just be put in the same directory as
executable.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
hmm, i guess this is a bit misleading.
windows will search in a couple of paths (including the path were the
executable resides) to find DLLs required for the executable to run
("dependencies").
however, codecs - while technically being DLLs - use a completely
different loading mechanism: files are scanned for in known directories
and then loaded on-demand ("plugins"). this makes it possible to install
additional codecs, and is very similar to Pd's external loading. in this
case, the "put it besides the exe" might work or not (e.g. afaik, Pd
will *not* find externals you put in the same path as pd.exe).

i cannot comment on the original issue.

fgmdsar
IOhannes

</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</body>
</html>