On Tue, 12 Oct 2004, Christopher Faylor wrote: > On Tue, Oct 12, 2004 at 06:26:36PM -0400, Igor Pechtchanski wrote: > >On Tue, 12 Oct 2004, Christopher Faylor wrote: > > > >> On Wed, Oct 13, 2004 at 12:11:05AM +0200, Bas van Gompel wrote: > >> >Op Sun, 10 Oct 2004 13:13:23 -0400 schreef Christopher Faylor: > >> >: On Sun, Oct 10, 2004 at 08:36:38AM +0200, Bas van Gompel wrote: > >> >: > Op Sat, 9 Oct 2004 19:18:13 -0400 schreef Christopher Faylor > >> >: > So cygcheck will have the same problem... > >> >: > >> >: Right, but cygcheck can rely on the fact that cygwin1.dll is around, at > >> >: least, if necessary. > >> > > >> >The dll is/should be around after setup ran (in install-mode), as well. > >> > >> Right. But it may not be loadable. I don't know if you can still use > >> LoadLibrary on dlls which lack the correct permissions or not. > > > >FYI: you can't. Just tested on WinXP Pro. HTH, > > Wow, that was fast. Thanks for the feedback. > > cgf
You're welcome. It helps to have a pre-compiled "loader.exe" executable that does a dlopen(argv[1]) and prints the return value. :-D Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw