🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.delphi
2 messages
2 total messages Started by Marek Tue, 02 May 2017 07:16
Advantage tdataset w lazarusie. Nie mogę skompilować.
#345794
Author: Marek
Date: Tue, 02 May 2017 07:16
24 lines
3046 bytes
Podczas kompilacji  adsl.lpk: 
Compile package adsl 10.10: Exit code 1, Errors: 1, Warnings: 15, Hints: 1 
adsdesign.pas(50,5) Warning: Illegal identifier "UNSAFE_TYPE" for $WARN directive 
adsdesign.pas(51,5) Warning: Illegal identifier "UNSAFE_CODE" for $WARN directive 
adsdesign.pas(52,5) Warning: Illegal identifier "UNSAFE_CAST" for $WARN directive 
adsdata.pas(45,8) Warning: Illegal identifier "UNSAFE_TYPE" for $WARN directive 
adsdata.pas(46,8) Warning: Illegal identifier "UNSAFE_CODE" for $WARN directive 
adsdata.pas(47,8) Warning: Illegal identifier "UNSAFE_CAST" for $WARN directive 
adscnnct.pas(45,8) Warning: Illegal identifier "UNSAFE_TYPE" for $WARN directive 
adscnnct.pas(46,8) Warning: Illegal identifier "UNSAFE_CODE" for $WARN directive 
adscnnct.pas(47,8) Warning: Illegal identifier "UNSAFE_CAST" for $WARN directive 
adsfunc.pas(45,8) Warning: Illegal identifier "UNSAFE_TYPE" for $WARN directive 
adsfunc.pas(46,8) Warning: Illegal identifier "UNSAFE_CODE" for $WARN directive 
adsfunc.pas(47,8) Warning: Illegal identifier "UNSAFE_CAST" for $WARN directive 
adsdata.pas(45,8) Warning: Illegal identifier "UNSAFE_TYPE" for $WARN directive 
adsdata.pas(46,8) Warning: Illegal identifier "UNSAFE_CODE" for $WARN directive 
adsdata.pas(47,8) Warning: Illegal identifier "UNSAFE_CAST" for $WARN directive 
adsdata.pas(705,17) Error: There is no method in an ancestor class to be overridden: "DataEvent(TDataEvent;LongInt);" 
adsdata.pas(818,17) Note: Virtual method "SetFieldData(TField;Pointer);" has a lower visibility (protected) than parent class TDataSet (public) 

Co zrobić, zeby się zainstalowało? 

Marek 
PS. Te komponenty są darmowe do komercyjnego użycia ? (potrzebuję się dobrać do tabel fox pro z indeksami cdx. /tadstable, tadsconnection). Baza w sieci lokalnej /folder udostepniony/
Re: Advantage tdataset w lazarusie. Nie mogę skompilować.
#345795
Author: mmm
Date: Thu, 04 May 2017 07:01
13 lines
1427 bytes
W dniu 2017-05-02 o 09:16, Marek pisze:
> Podczas kompilacji  adsl.lpk:
> Compile package adsl 10.10: Exit code 1, Errors: 1, Warnings: 15, Hints: 1
> adsdata.pas(705,17) Error: There is no method in an ancestor class to be overridden: "DataEvent(TDataEvent;LongInt);"
>
> Co zrobić, zeby się zainstalowało?

Poprawić kod !
http://docwiki.embarcadero.com/Libraries/Seattle/en/Data.DB.TDataSet.DataEvent

a w lazarusie drugi parametr jest troche innego typu wiec trzeba poprawić

M
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads