Hi,
I started my kobo collection manager project anew. I've put it up for download. Disclaimer, it works for me, on my kobo libra 2, and there's no guarantee it will work for you too. But maybe it will be useful for someone else too.
It comes with a helpfile and a file called main.cpp with the source (latest c++ rad studio).
https://jcremers.com/Kobo.html
forum thread:
https://forum.jcremers.com/index.php/board,15.0.html