In this post, you’ll learn how to use the GetInterfaceEntry method or DelphiVCL.Application.GetInterfaceEntry to return the entry for a specific interface implemented in a class. GetInterfaceEntry returns the class entry for the interface specified by the IID parameter.
Note:
- In Delphi Code, IID can be an interface name.
- The compiler replaces this name with the actual GUID. COM objects can use GetInterfaceEntry to automate dispatch calls to a dual-IDispatch interface.
Learning more about DelphiVCL.Application.GetInterfaceEntry method will allow you to easily build programs and test the code with python tools.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.GetInterfaceEntry using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.GetInterfaceEntry) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.GetInterfaceEntry using the print() command:
1 2 |
print(DelphiVCL.Application.GetInterfaceEntry) print(DelphiVCL.Application.GetInterfaceEntry.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.