We have been updated our project to Delphi XE. There’s .ridl files instead .tlb. But what’s about *_TLB.pas files? How to migrate changes in .ridl file to *_TLB.pas file?
Delphi XE doesn’t modify this file at all.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Open the type library editor and press the refresh implementation button.
See the help for more information.
Update :
Make sure the .ridl file is in the project manager.
From the IDE : View|Type library should now be enabled.
Open the type library editor from here.
The _tlb.pas file should not be opened in any editor window.
Pressing the refresh implementation should update the _tlb.pas file.
(Sometimes the save .ridl button is needed first)
At occations I have to save the project, close and restart the IDE before correct information is there.
Sometimes you must unregister the library before doing all this.