[Lazarus] Graphics unit and DLLs

Paul Ishenin webpirat at mail.ru
Wed May 27 00:21:55 CEST 2009


matt shaffer wrote:
> Compiler options as in:
> Project -> Compiler options . But on second glance, it doesn't appear 
> that that would help anything.
>
> Well what you suggested (Project inspector dependencies) seemed to 
> work. It recognized the graphics unit and let me have a tcanvas 
> variable, and the quick compile worked fine, but the build failed with:
>
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterCustomImageList
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterMenuItem
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterMenu
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterMainMenu
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterPopupMenu
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterDragImageList
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterControl
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterWinControl
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterGraphicControl
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterCustomControl
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterScrollingWinControl
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterScrollBox
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterCustomFrame
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterCustomForm
> project1.lpr(201,1) Error: Undefined symbol: WSRegisterHintWindow
> project1.lpr(201,1) Fatal: There were 15 errors compiling module, stopping
If you are using LCL you must add Interfaces unit to your uses section.

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list