Re: Delphi DLL / VB app



Yep, I think I have that all covered, since it works from both Access
and VB5 once I added the DLL to the list of references via the menus.

So now I'm more closely trying to duplicate what the real app is going
to do. If all it knows (from the registry) is the dllname.classname, I
though it might try to add to the list of references programmatically,
rather than through the menu. In Access and VB5, I added a
References.AddFromFile statement, pointing it at the DLL.
Interestingly, the Access version succeeded -- and the reference
appeared in the menu list after that -- but the CreateObject statement
still failed. With the VB5 version, I could not get the AddFromFile
statement to work.

Still, if the Delphi part looks okay, and the issue is just getting the
VB half to do what the real aplication must already be able to do, then
I'm kind of hosed anyway.

Dan

.



Relevant Pages

  • Re: Excel References
    ... registers the DLL properly on the user's machine then there shouldn't be any ... I re-establish the References, XL runs fine. ... "Joe" wrote in message ... Click OK and the VBE will register the DLL ...
    (microsoft.public.excel.programming)
  • Re: HowTo: Unregister a DLL/Control when the File no longer Exists
    ... Tony Proctor wrote: ... recorded in the registry. ... However, matching them up without the original DLL ... The main project references one of the DLLs, ...
    (microsoft.public.vb.general.discussion)
  • Re: Excel References
    ... <<If I have the References dialog open, I can't get to the Browser (as ... Click OK and the VBE will register the DLL and add it to ... the Browser lists it in the dropdown of available ...
    (microsoft.public.excel.programming)
  • Re: Excel References
    ... closing the References dialog, then reopen the References dialog and recheck ... Click OK and the VBE will register the DLL and add ... (MISSING is present) ...
    (microsoft.public.excel.programming)
  • Re: HowTo: Unregister a DLL/Control when the File no longer Exists
    ... projects, in the correct order, and deals with this exact situation Karl ... "registry bloat" by not cleaning the registry properly over a period ... The main project references one of the DLLs, ... another DLL. ...
    (microsoft.public.vb.general.discussion)