Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Ca.Vo. 2.8sp4 - errore 51565 dalla CheckFile ClassCheckFiles:aFiles:Access / Assign Date: Thu, 28 Nov 2019 13:12:14 +0100 Lines: 37 Message-ID: References: <9b0f18b3-1716-4c98-9799-8e8ebd145b6b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net l5S6tkuDKeNw9rtXqLgqAwbAWokms12u2eWMB1MHfaKyYGpVk= Cancel-Lock: sha1:JK/z3ma5WmnjU3K5uxw/bJ35oKI= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:12716 Ciao Mario, > 1) - "ACCESS/ASSIGN method has same name as PROTECTED or HIDDEN ivar > AFILES: 51565 " - nella riga 1 di entrambe. La Variabile è definita > nella classe come "Protect" > > ACCESS aFiles() CLASS CheckFiles > > RETURN self:aFiles > > e > > ASSIGN aFiles(aValue) CLASS CheckFiles > self:aFiles := aValue > RETURN self:aFiles questo non è più ammesso nella 2.8 perchè non ammesso in .NET (access/assign e variable interna dello stesso nome). Devi rinominare uno dei due. Rinominerei la protect interna mettendo davanti un _ > 2) - "Possibly dangerous automatic conversion STRING <-> PSZ: 51440" > l'errore è riferito al Comando : > // Delete original file and Index > FErase(String2Psz(oArchive:FileSpec:FullPath)) > FErase(String2Psz(StrTran(Upper(oArchive:FileSpec:FullPath), > cExtension, cMemoExt))) togli lo StringPsz(). Saluti Wolfgang --