Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #7358
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!posting3.xlned.com!fe04.am1.POSTED!not-for-mail |
|---|---|
| From | "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Compile error |
| Lines | 3 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Importance | Normal |
| X-Newsreader | Microsoft Windows Live Mail 16.4.3505.912 |
| X-MimeOLE | Produced By Microsoft MimeOLE V16.4.3505.912 |
| Message-ID | <1Yv3w.2$1v5.0@fe04.am1> (permalink) |
| X-Complaints-To | support@n-o-s-p-a-m.sunnyusenet.com |
| NNTP-Posting-Date | Mon, 27 Oct 2014 18:14:21 UTC |
| Organization | Sunny Usenet - Affordable Usenet |
| Date | Mon, 27 Oct 2014 19:14:22 +0100 |
| X-Received-Body-CRC | 1941335779 |
| X-Received-Bytes | 1961 |
| Xref | csiph.com comp.lang.clipper.visual-objects:7358 |
Show key headers only | View raw
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