Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #7358
| From | "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Compile error |
| Message-ID | <1Yv3w.2$1v5.0@fe04.am1> (permalink) |
| Organization | Sunny Usenet - Affordable Usenet |
| Date | 2014-10-27 19:14 +0100 |
Hello all,
Why does this simple subclassing code give an compiler warning in 2838?
Missing implementation of typed method that was declared in class
MC_AdoConnection: 51453
CLASS MC_AdoConnection INHERIT AdoConnection
METHOD Init(ptrIf,bAddRef) CLASS MC_AdoConnection
SUPER:Init(ptrIf,bAddRef)
RETURN SELF
And there is also an error when compiling this code:
Method : has been strongly typed but has not been declared in the class :
51450
oConn:=AdoConnection{}
oConn:ConnectionTimeout :=SELF:_ConnectionTimeOut
oConn:Provider :=SELF:_ConnectionProvider
oConn:CursorLocation :=adUseClient
oConn:ConnectionString :=SELF:_ConnectionString
oConn:Open(NIL,NIL,NIL,NIL)
When creating the same kind of class for AdoRecordSet or AdoServer, there is
no compile error!
CLASS MC_AdoRecordSet INHERIT AdoRecordSet
METHOD Init(ptrIf, bAddRef) CLASS MC_AdoRecordSet
SUPER:Init(ptrIf, bAddRef)
RETURN SELF
What am I missing here? Or is the compiler crazy?
Regards, Marc
Back to comp.lang.clipper.visual-objects | Previous | Next — Next in thread | Find similar | Unroll thread
Compile error "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2014-10-27 19:14 +0100
Re: Compile error "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2014-10-27 20:57 +0100
Re: Compile error "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2014-10-28 03:18 +0100
csiph-web