Zitat von Joost van der Sluis <[email protected]>:
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'?
Mattias
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus