C API port for LComp library for Windows