LoadLibrary() file path
<p>I'm trying to use the function LoadLibrary(...) which takes in a string to a filename (.dll or .exe) or a filepath. The issue I'm having is when the filename itself has multiple periods/dots. </p>

<p>Example:</p>

<pre><code>HINSTANCE hInst = LoadLibrary(_T("..\\folder\\file.name.dots.exe"));
</code></pre>

<p>The handle is always null and I cannot simply change the filename in this case. Microsoft mentioned multiple periods in <a href="https://support.microsoft.com/en-ca/kb/324468" rel="nofollow">https://support.microsoft.com/en-ca/kb/324468</a> but I don't believe it works for the filename. Any ideas?</p>