I am creating a pretty complex app that controls a high end radio. In addition to my app I want to integrate an open source program that does the following:
It creates a tcp server and listens for clients that send commands. These clients are other third party products that want certain information from the radio and also provide certain information to the radio. The open source software basically has a thread dealing with the tcpip server part and there is several methods that process the received information, finally telling the radio what information it wants or what the radio has to do.
This app, contains several classes and a lot of code. I would like to put this in a dll instead of having it as part of my code. This should be straight forward, and I could execute the code in the dll when I initialize it.
My question is, this dll would need access to two methods in my calling program. It would call these methods at any time. I would have a separate thread to deal with this
So my question is can the dll call methods in the calling exe? How could I do this?
Thanks for any help!