> <returning from the conquest>
> Not quite.  On a managed mount, cygwin_conv_to_full_win32_path
> (searchname, wpath); correctly returns the munged underlying
> Windows name, but earlier in the code, you appended a trailing
> dot.  Since a managed mount munges the trailing dot, you are
> now trying to load (for example) "c:\cygwin\managed\libfoo%2E",
> rather than "c:\cygwin\managed\libfoo.", so the call to LoadLibrary
> won't see a trailing dot and will thus append an implicit ".dll".

On the other hand, I just had a thought.  If you were to wait to
append the trailing dot until after you have converted to the Windows
name, this idiom of using a trailing dot to supress implicit .dll should
then work just fine for using LoadLibrary even inside cygwin managed
mounts.

--
Eric Blake




Reply via email to