jvBandObject



Has anyone succeeded in creating a working deskband in D2006 using the jvBandObject
(v. 3.20)? I am having no luck at all. The code the wizard produces does not compile. The error is:

Declaration of CreateBandForm differs from previous declaration. Below is the declaration in question.

function CreateBandForm(const ParentWnd: HWND): TJvBandForm; override;

and this is the original declaration (in bandform.pas):

constructor CreateBandForm(const ParentWindow: THandle; const BandObject: TComObject);

Renaming the function CreateBandForm to CreateThisBandForm (and removing the "override" specification) allows the compiler to succeed. But after the successful compilation, the IDE's Run | Register ActiveX Server menu item is not enabled, and the working directory contains no .tlb file.

I have made a successful deskband using D7 and the old zBandObject distribution. In that case, after a successful compilation the Register AcitveX Server item would be enabled, and there would be a .tlb file in the working directory.

Must I simply give up on the jvBandObject and return to the older zBandObject or is there some straightforward fix for the problems I am seeing?

Thanks,

JAS

.