packetlistener.exe: I have a c application that actively listens and receives packets.
comwrapper.dll: A C++ COM dll that wraps the unmanaged c executable
guiapp.exe: A .NET gui that references the comwrapper.dll and uses it to display information and handle events.
The way I am currently launch the application:
- Start packetlistener.exe with command line argument.
- Start guiapp.exe
I have spent the last couple of hours trying to figure out how to package this nicely into one process.
What I have tried to do is compile packetlistener.exe as a dll and then include it in the guiapp project. However, I am completely lost regarding starting packetlistener as part of guiapp.
I am new to windows development and feel like I am doing something wrong. Am I going about this the wrong way?