- Newest
- Most votes
- Most comments
Hi,
So from what I understand, you want to develop a component which can run your executable and talk to Greengrass core.
I think the best path forward is to use the C++ IPC SDK as you pointed out [6]. It should be pretty straightforward to write a layer over the C++ SDK to expose the functionality you need (Make sure the symbols are not mangled - example method https://isocpp.org/wiki/faq/mixing-c-and-cpp#call-cpp). You won't need to rewrite your existing C application.
I want to hear what are the challenges you think you will face with the approach. Thanks
PS. I have used this approach to use C++ SDK from C code but don't have the code handy ATM.
Hi sushantAtAws,
Thank you for the response.
It seems it could be possible as suggested by you to write a layer over the C++ SDK to expose the functionality and looks the better approach.
I am able to run the mixed C and C++ code.
Thank you so much again.
Relevant content
- Accepted Answerasked 5 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago