Search code examples
.netdelphitypelib

Anyone heard of Accessibility_TLB


I have been working on converting a assembly of mine to be usable through Delphi. I was able to convert the assembly to a PAS file and call the method in my delphi application. But i ran into a problem where my PAS file is asking for System_Windows_Forms_TLB which i was able to find and add. But then that file uses Accessibility_TLB and i have no clue where that is? Does anyone know wherethat is or am i doing something wrong here? Sorry i'm not experienced at all dealing with COM's.


Solution

  • I found out that the reason it was asking for System_Windows_Forms_TLB and Accessibility_TLB was because i had the whole assembly set to COMVIsible instead of just the interface. This was in turn asking for those assemblies instead of letting the GAC take care of the rest. I removed COMVisible from the assembly and added it to just the Interface and it all worked correctly.