Constraint library?

I’d like to try to build a library for constraints which when incorporated into an application like Maya, Houdini, Lightwave, or a game engine, can create and transfer constraint data from one application to another. I think it needs to be a dynamic library, but I’ve never made one before. I really only know the minimum c++ needed to make a maya plugin. What do I need to learn in order to create a cross platform dynamic library that handles the creation and transference of constraints in graphics applications and game engines?