add an example for c dll