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: Hooks do not work?


On 10/26/2013 14:32, niXman wrote:
> compiled as:
> gcc hook.c -shared -oopenhook.dll
> gcc main.c -omain
> 
> run as:
> LD_PRELOAD=/home/niXman/openhook.dll ./main
> 
> But a can't see the output.
> What I am doing wrongly?
> 

LD_PRELOAD is an ELF interpreter feature and bares no effect on Windows,
so you are out of luck.



Attachment: signature.asc
Description: OpenPGP digital signature


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