Re: Hooks do not work?

2013-10-26 Thread niXman
() 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

Hooks do not work?

2013-10-25 Thread niXman
#include int main() { FILE *file = fopen("main.c", "rb"); if ( file ) fclose(file); } 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 a