This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Running a program using a DLL under Cygwin


Greetings, Yucong Sun!

https://cygwin.com/acronyms/#TOFU pretty please...

> I think symlink is a cygwin thing.  Windows won't find that DLL (just
> like you won't find it using windows explorer.)

Unless he have created a Windows symlink, that is correct.
Explorer, however, may find it, as Cygwin symlinks are Windows LNK files.

> Windows only support loading DLL from project directory, or  system32
> as far as I know.

That's not correct. Windows can be told to load DLL's from multiple places,
and you can add to that by registering your DLL in AppPaths registry key.

But a bottom point of the issue is that the OP's project is poorly designed
and needs a rework in the part of finding and loading custom plugins
(I suppose).

There should be no need to move DLL's around, least to place them in a shared
location like user's ~/bin...


-- 
With best regards,
Andrey Repin
Thursday, October 8, 2015 18:08:16

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]