2019-09-17 05:29 AM
Hi
I would like to call C++ functions from C file.
For example I have a Callback to change the screen (void FrontendApplication::goToMainScreenCustom()) in FrontendApplication. I want to call this function from a C file.
Does anyone have an idea how to make this? Do I need a wrapper for such calls from a C file?
Regards
Dejan
Solved! Go to Solution.
2019-09-17 07:34 AM
Hi @Piranha
Thanks for the links.
I've done it with a wrapper like it's described in https://isocpp.org/wiki/faq/mixing-c-and-cpp#call-cpp. It worked for me.
Regards
Dejan
2019-09-17 07:30 AM
2019-09-17 07:34 AM
Hi @Piranha
Thanks for the links.
I've done it with a wrapper like it's described in https://isocpp.org/wiki/faq/mixing-c-and-cpp#call-cpp. It worked for me.
Regards
Dejan