[Lazarus] Errors when trying to use SQLDBLaz

Joost van der Sluis joost at cnoc.nl
Mon Oct 5 16:01:12 CEST 2009


On Mon, 2009-10-05 at 15:41 +0200, Mattias Gärtner wrote:
> Zitat von Joost van der Sluis <joost at cnoc.nl>:
> 
> > On Sun, 2009-10-04 at 11:46 -0400, Lee Jenkins wrote:
> >> Lee Jenkins wrote:
> >> >
> >> > Can anyone explain why Lazarus throws these errors when building the
> >> > project with SQLDBLaz included in the project?
> >> >
> >> > cgi_test.lpr(15,1) Error: Undefined symbol: WSRegisterCustomImageList
> >> > cgi_test.lpr(15,1) Error: Undefined symbol: WSRegisterMenuItem
> >> > cgi_test.lpr(15,1) Error: Undefined symbol: WSRegisterMenu
> >> > cgi_test.lpr(15,1) Error: Undefined symbol: WSRegisterMainMenu
> >> > cgi_test.lpr(15,1) Error: Undefined symbol: WSRegisterPopupMenu
> >> > cgi_test.lpr(15,1) Error: Undefined symbol: WSRegisterDragImageList
> >> >
> >> > // ...More of the same kind of errors.
> >> >
> >> > cgi_test.lpr(15,1) Fatal: There were 50 errors compiling module, stopping
> >> >
> >>
> >> Darn it, just figured it out right after I sent the post.
> >>
> >> Needs "Interfaces" in uses clause of .lpr file.
> >>
> >> I guess the weblaz stuff pulls in LCL.
> >
> > Well, it shoudn't. But the 'sqldblaz' unit in your uses-section of the
> > project pulls in the LCL.
> 
> Maybe sqldblaz should disable 'Add package to uses section'?

Probably, yes.

Joost





More information about the Lazarus mailing list