Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Mar 05, 2005 7:00 pm |
In the first example, the clRTTI stuff handles methods the same way I'm already doing it...by creating a wrapper class for each object.
The project JEDI link was out of date but I found the correct page for this. It's a collection of open source stuff for Delphi. I haven't actually looked at much of the JEDI stuff yet because I wasn't sure how their license worked for commercial products. But I wasn't able to find anything there about RTTI stuff, so I'm not sure why the guy posted the original link to this. Looks like some of their *own* components support this, but I didn't see any general way to extend the Delphi RTTI.
I think I'm fine with the current method that I'm using. Doing a wrapper class also allows me to change the method names or parameters to something easier to use with a scripting language. For example, when a Delphi Class is used in a method, I can change it to a Variant type and let you pass COM objects instead. Or pass strings instead of enumerated types...stuff like that.
But thanks for looking up these links. |
|