Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-10

Errors when trying to use SQLDBLaz

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lee Jenkins

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

Thanks,

Warm Regards, Lee

Reply by email

Lee Jenkins
to Lee Jenkins
Lee Jenkins wrote 15 lines
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.

Warm Regards, Lee

Reply by email

Joost van der Sluis
to Lee Jenkins
Lee Jenkins wrote 22 lines
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.

Joost

Reply by email

Mattias Gärtner
to Joost van der Sluis

Zitat von Joost van der Sluis :

Show quoted text 26 lines
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

Reply by email

Joost van der Sluis
to Mattias Gärtner
Mattias G?rtner wrote 30 lines
Zitat von Joost van der Sluis : > 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

Reply by email

Mattias Gärtner
to Joost van der Sluis

Zitat von Joost van der Sluis :

Show quoted text 7 lines
[...] > > 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.

I disabled it.

Mattias

Reply by email