[Lazarus] Help extending a python script

Vincent Snijders vsnijders at vodafonevast.nl
Wed May 27 10:04:28 CEST 2009


Adding interfaces prevents the errors I was getting previously, but a few
remain:project1.lpr(209,1) Error: Undefined symbol:
RESSTR_LCLSTRCONSTS_RSMBOPEN
project1.lpr(209,1) Error: Undefined symbol: RESSTR_LCLSTRCONSTS_RSMBSAVE
project1.lpr(209,1) Error: Undefined symbol: RESSTR_LCLSTRCONSTS_RSMBUNLOCK
project1.lpr(209,1) Error: Undefined symbol:
RESSTR_LCLSTRCONSTS_RSMTAUTHENTICATION

Not sure as to whether it will work in the DLL or not, but thanks for
pointing it out.

On Tue, May 26, 2009 at 6:21 PM, Paul Ishenin <webpirat at mail.ru> wrote:

> 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.
>
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090526/42b946a1/attachment-0004.html>


More information about the Lazarus mailing list