Reading rpm database from windows.

Hello,

I want to read a rpm database through my program in c ,I searched for it and found there is one library openly available that is rpmlib thorugh which we can access rpm databse but I want to use it from windows is it possible to read one rpm database from windows,I want to read the properties of rpm from windows.

If yes then kindly tell me about it.It is required for my project.

Thanks

Have you tried compiling rpmlib in windows?

Thanks but the problem is that,I have no complete list of files ,I have downloaded form some website but the source code is missing some file and I think that file contains all the important functions.
If there is any library for this present kindly tell me.
Thank you

The full RPM reference code is available at rpm.org.

If you explain the exact error in more detail, including what exactly you downloaded, we can help more.