Mega Code Archive

 
Categories / Delphi / Activex OLE
 

New methods not showing in code insight window

Question: I'm writing an in-process server and I'm adding some methods to it. However, they do not show up in the code-insight window, and my code doesn't compile. What is wrong? Answer: You need to either reimport the type library into the client, or just use the type library wrapper (myserver_tlb.pas) that was created for you when you rebuilt the in-process server. If you imported the type library from the server and then modified the server, the wrapper for the server's type library will be out-dated.