I highly recommend, if having to rewrite, to implement an own add in with rtd server and user defined functions. Provides most flexibility.
I think you have a re-write on your hands....unless you want to decifer IB's DDE implementation......and good luck with that. I once reviewed that code and almost threw-up....it was so bad.
Another alternative is going the ActiveX route and implementing the tws.ocx component.
