Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5735
| From | "Chris Pyrgas" <cpc@anadelta.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: First compiling in vulcan (fabpaintlib example) |
| Date | 2013-08-27 00:42 +0300 |
| Organization | An OTEnet S.A. customer |
| Message-ID | <kvgi2e$f4s$1@mouse.otenet.gr> (permalink) |
| References | <66ad5667-9653-4376-ab16-50735acdd06d@googlegroups.com> |
Hello, > error override of virtual method 'Vulcan.VO.CustomControl.Destroy( > Vulcan.__Usual[] )' has STRICT calling convention but overridden method is > CLIPPER > > in > > METHOD Destroy() > // > IF ( SELF:oImg != NULL_OBJECT ) > SELF:oImg:Destroy() > ENDIF > // > SUPER:Destroy() > // > return self > > leaves me with a lot of ??? Anyone any idea This is because the compiler thinks that the METHOD Destroy() in your code is of STRICT calling convention, while the base Destroy() method is using the CLIPPER calling convention, scenario which is not allowed. In order to fix this, you can declare your method explicitly as CLIPPER: METHOD Destroy() CLIPPER ... Alternatively, you can enable the "Implicit CLIPPER Calling Convention" (/vo5) compiler option in the project properties, which instructs the compiler to treat methods without paramaters (like the Destroy() method) as CLIPPER by default. hth, Chris
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
First compiling in vulcan (fabpaintlib example) geert@lucidsolutions.be - 2013-08-22 14:11 -0700
Re: First compiling in vulcan (fabpaintlib example) D.J.W. van Kooten <public@ic2remove.this.com> - 2013-08-23 10:44 +0200
Re: First compiling in vulcan (fabpaintlib example) "Chris Pyrgas" <cpc@anadelta.com> - 2013-08-27 00:42 +0300
Re: First compiling in vulcan (fabpaintlib example) geert@lucidsolutions.be - 2013-08-28 00:45 -0700
csiph-web