Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Urs Eggmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: new errors with SP4 Date: Sun, 15 Jul 2012 21:55:58 +0200 Lines: 32 Message-ID: References: <7406c0bc-0082-4685-b7de-837fa0606898@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: individual.net y02QXGqcJjZX9yXYbj5l/gFB/GWaqnkTOu03/M1aSzgeYOmA2xQQv87VYLptLCD+ve Cancel-Lock: sha1:NUQCtVQd0wc+2/FvQqo7LYODHHQ= 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: 35EFE320EBB6393161A3BA X-EsetScannerBuild: 11690 Xref: csiph.com comp.lang.clipper.visual-objects:3781 Bonjour Jean-Luc, > ... (usually, method without return) This Error was already mentioned by VO 2.8 with the more strict compiler. It's nothing new of SP4 > But I also get specific error I can't correct: > ACCESS/ASSIGN method has same name as PROTECTED or HIDDEN ivar EMP_WP Since VO 2.8 same names are no longer allowed. Also nothing new. This error mostly occurs by recompiling imported VO 2.7-aefs I'm naming the Protect variables as follows: The Protect has a beginning underscore and the Assign/Access method the same name as the variable, but without underscore. See the sample below. (old Ivo Wessels trick) CLASS ccEtikett INHERIT CustomControl PROTECT _nIndex, _nReiheNr, _nSpalteNr AS DWORD // ACCESS nIndex CLASS ccEtikett RETURN _nIndex ASSIGN nIndex(uValue) CLASS ccEtikettSELF:_nIndex := uValue RETURN _nIndex By the way, HWND, CFILTRE,CHERCHE are usable as varable names, if you follow the suggestion with the underscore Good Luck Urs