int main() !captureFP) std::cerr << "API initialization failed!" << std::endl; FreeLibrary(hDLL); return -1;