I've posted a question about this subject some weeks ago.
I need to write a plug-in DLL for a software package. The company of this software package provided a code sample in Visual Basic how to work this out. Unfortunately I'm using Delphi and need to translate this to implement it in my project.
As it seems, the DLL is an ActiveX library that has got some Ole Automation objects in it. I've extracted the type library from the sample (VB) DLL and created a new Delphi project and my own Ole Automation objects based on the specifications in the sample VB type library.
So far so good.
When I start the software package my DLL is loaded, because I specified the Host Application as parameter in the Delphi IDE and it goes through the Initialization section of my code asuming my Ole objects are created. The DLL is also locked by Windows as long as the software package is loaded. However, the interface doesn't seem to work. I quite can't figure out what I'm doing wrong here.
I've opened a FTP account in which I have put some files.
VB_BPWindow ---- plug-in sample in VB code provided by the manufacturer of the software package.
Delphi_BPWindow --- My translation project so far in Delphi.
TypeLibsAndDLLs --- Resulting DLLs and Type libraries from the VB sample code and my Delphi project.
User ID: DelphiCoder
I've put 500 points on it.
Thanks in advance,