mercredi 20 mai 2015

Reflection like features with C

I am wondering how I can call functions in C dynamically without typing the function call in the code. I have different Messages, for example: START, STOP, TEST. I have functions in a library: process_msg_START, process_msg_STOP, process_msg_TEST. I want to call the correct function without typing the Name explicitly, something like using Reflections or the dynamic runtime in C#. Do you have any Ideas? I am very new to C and my search wasn’t successful.





Aucun commentaire:

Enregistrer un commentaire