Make "char *fileContent;" "char fileContent[64];" (64's probably a little too much I guess for a file with its contents being rather small, I guess, but it works) Try it now: http://www.freemoe.org/users/qwerty12/libcallnotify.so