We have an Addin but we can't instance the Application variable inside a IRTDServer library.
The task is to have the Addins communicate. You can correct the code we have now (easiest) or rewrite it.
1. For RTD Server im using a extension of IRTDServer. I build a dll library with the ComVisible option set to true. I made the register of the library and work fine.
2. For the UDF library im using IDTExtensibility2. Same that the Rtd, build a DLL library with Com Visible. The installation work fine and i can call function after this.
3. The Addin have a ribbon and a Socket class to comunicate, this Com Addin is also a DLL library. The ribbon is simple a form to set the ip and the port, and pass the parameters to the Socket class to made the connection.
We will share the code that we have now in our interviews.