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

Reply via email to