AFAIK glib is a unix library. I don't know if it works under Windows, but if so, compile it to a dll and include the prototypes from the header.