Delphi Forms Being Applied to Visual Basic
Zhou Zhen-hong · Journal of Zhengzhou University · 2004
Delphi forms are applied to Visual Basic in order to utilize Visual Form Inheritance of Delphi and to supply a project group with flexibility in choosing development tools. The way is to add forms to a DLL project in Delphi, and to export routines from DLL, which are responsible for creating, showing and releasing forms, then to import routines in Visual Basic. The key is to set up a handle parameter to accept caller's instance handle in exporting routines; and to return a form instance handle used to close the form by caller if the form to show is modeless.