Dynamic Components is a closed source Ruby extension distributed with SketchUp.
How are you planning to use it via the C API ?
This makes no sense. Can you please clarify.
Provide images of what you wish to do … and even better if you post a code snippet of what you have attempted so far.