LD_PRELOAD is an ELF interpreter feature and bares no effect on
Windows,
so you are out of luck.
It seems that the solution of my question is described here?:
https://sourceware.org/ml/cygwin/2009-12/msg00165.html
But tell me please, in which header located description of the
cygwin_internal() function and which library I should link with my
hook-dll?
Also, this way will work with MSYS2?
--
Regards, niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingw-w64/
___________________________________________________
Another online IDE: http://liveworkspace.org/
--
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