I'm porting an "In-Proc COM Server (DLL)" (see CTD menu option Project/Build Settings) from CTD2000 to TD5.1 sp6 on Windows XP. This COM object defines an interface with some 200 methods. The original was developed over time so the Dispatch Numbers (see Interface: Function: Attributes) do not run in order in the code and there are missing numbers in the sequence. Changing the Dispatch Numbers (ie "Export Ordinals") is not an option as the many compiled applications that use it depend on these remaining the same.
TD5.1 sp6 allows me to change all the Dispatch Numbers as I as wish and then compiles ok.
HOWEVER, if I then save the application and re-open it all the Dispatch Numbers get reset to run in sequence starting at zero every time. Needless to say I am not very happy about this
PS: It also renumbers the entire sequence whenever you insert a new Function in the interface - if you only knew how annoying that is!!!