Development How To
Adding Server Methods to Keystone App Server
The process of using the Type Library Editor in Delphi 10.1 Berlin is very fragile. You must follow these steps exactly or Delphi will crash. YOU HAVE BEEN WARNED!
- Create new server methods and update source units.
- Start Delphi
- Open ccasib6.dpr
- Open ccasib6_tlb.pas unit
- Open any other .pas units that will be changed by the new methods
- View->Type Library
- Change methods as needed
- Press CTRL+S to save ccasib6.ridl
- Click Refresh Implementation (this will take a while)
- Press CTRL+S to save ccasib6.ridl (again)
- Switch to ccasib6_tlb.pas tab and press CTRL+S to save
- Switch to any other changed tabs and press CTRL+S to save
- Close Delphi
- Rebuild TLB file and App Server.
- Start Delphi
- Open ccasib6.dpr
- View->Type Library
- Click Save as Type Library File, select ccasib6.tlb as filename
- Project->Build ccasib6
- Close Delphi