# How can we connect C and C++ with Robot Framework

**URL:** <https://forum.robotframework.org/t/how-can-we-connect-c-and-c-with-robot-framework/5233>\
**Category:** Robot Framework\
**Created:** [31 January 2023 09:21 UTC](https://forum.robotframework.org/t/how-can-we-connect-c-and-c-with-robot-framework/5233 "2023-01-31T09:21:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![milind012](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@milind012](https://forum.robotframework.org/u/milind012)\
**Post date:** [31 January 2023 09:21 UTC](https://forum.robotframework.org/t/how-can-we-connect-c-and-c-with-robot-framework/5233/1 "2023-01-31T09:21:57Z")

</div>

I have some libraries which only work in C and C++ how can I connect these languages with robot framework

---

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [31 January 2023 09:59 UTC](https://forum.robotframework.org/t/how-can-we-connect-c-and-c-with-robot-framework/5233/2 "2023-01-31T09:59:06Z")

</div>

Hi Milind,

I don’t have personal experience doing this but I think what you’d need to do would look something like this:

1. Create a python module that calls the compiled C/C++ code, I don’t know how to do this but I know some python modules do this
2. Create a python keyword library that wraps the python module (you can use [robotframework-perfmon](https://github.com/damies13/robotframework-perfmon) that wraps [pyperfmon](https://github.com/damies13/pyperfmon) as an example of doing this)
3. use the keyword from you python keyword library

Hopefully that guides you in the right direction,

Dave.
