> class onParticleFountainEvent : public iAws2ScriptEvent
> {
> public:
>       /** Callback for particle fountain events like Start/Stop,
> etc.*/
>       void operator()(iAws2ScriptObject *info)
>       {
>               ... Code ...
>       }
> };
>
> There is no reason to use static methods.  I'm sorry if that caused some
> confusion.  Does anyone have a problem with the corrected version?

Yes, I do :)
Virtual overloaded operators are not "ABI-safe" on windows (at least), and thus
should never be used in SCF interfaces. However, make it a normal member
function and it is ok from a technical point of view at least.
Now if there was just a way to force this with a static check.. hm..

-M



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to