![DelphiVCLApplicationExecuteAction blog banner → Python GUI DelphiVCLApplicationExecuteAction blog banner](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/06/6_small-8073324.jpg?resize=1140%2C694&ssl=1)
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:
![0dir7089570 → Python GUI 0dir 7089570](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/08/0dir-7089570.png?resize=685%2C117&ssl=1)
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:
![0print3564348 → Python GUI 0print 3564348](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/08/0print-3564348.png?resize=685%2C104&ssl=1)
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.