Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Urs Eggmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Compile error Date: Mon, 27 Oct 2014 20:57:19 +0100 Lines: 49 Message-ID: References: <1Yv3w.2$1v5.0@fe04.am1> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Trace: individual.net 1qpk/fFt7XGERzg9StgBBAKEyMufsU8ZfwJK6KwD0TzsnTEvvG Cancel-Lock: sha1:W5bsbcdq+qTvs7MCJsDBYtfGTyI= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-EsetId: 37303A2992966F626D7561 X-EsetScannerBuild: 20802 Xref: csiph.com comp.lang.clipper.visual-objects:7359 Hi Marc, I had this error also some time ago. It had to do with a newer Lib in the repo and a older DLL in the bin directory (or the other way round, may be). If I remember correctly I had made a mess with bBrowser patches wich I did not install properly in all my projects. (Joachim, it was my fault and NOT yours!!) regards Urs "Marc Verkade [MITCon]" schrieb im Newsbeitrag news:1Yv3w.2$1v5.0@fe04.am1... > 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