Uhm it took me almost 2 hours to figure out what he was trying to do. I don't like this sort of static library links. I guess you do also have the document of the library, you can declare the function pointers for those functions you would want to call then try to get their entries with GetProcAddress. This seems more rigid and portable.