Firstly, I am searching for a way to load my VB dll (which includes a form) from a Delphi/Pascal program on condition that it is imported from the same folder. Right now I am using GAC and that's how the Delphi program finds my type library.

Secondly, I try to find how to include a custom control to the VB dll without breaking the COM link. Even if I set it com visible, the Delphi program does not recognize the VB dll's GUID when I use the custom control.

The custom control that I want to use does not play nice. I have to find a way to include it without breaking my library. The previous issue that I had as well as what exactly I have already tried is described here: http://www.vbforums.com/showthread.p...ned-namespaces. After fixing all the namespace and other errors I noticed that the designer keeps forcing incompatible namespaces that produce errors. Furthermore, this thread http://www.vbforums.com/showthread.p...omponent-Error made me realize that the custom control is to be used as an "external" component, not as a class in the main project.

How can I use the custom tab control and still be com visible as to the Delphi program? Any help appreciated!