Register to post in forums, or Log in to your existing account
 

Post new topic  Reply to topic     Home » Forums » zApp Developers
theNerd
Adept


Joined: 01 Mar 2005
Posts: 277

PostPosted: Fri Mar 04, 2005 10:58 pm   

Retreiving Published Methods using RTTI in Delphi
 
Zugg,

I was looking up stuff on retrieving methods through RTTI in Delphi and I came across this thread:
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_21096221.html

It gave two links (one was out-dated so I found the correct one):
http://homepages.borland.com/jedi/jcl/page10.html

http://chris.lichti.org/modules.php?op=modload&name=Downloads&file=index&req=viewsdownload&sid=1&POSTNUKESID=bc51d117f540e754d1301a5445733cb2

Just trying to make your work easier Very Happy

-Steven

(I'd be interested to find out if they were any help. The thread gave those links but the pages didn't give any real info.)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23377
Location: Colorado, USA

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zApp Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2009 Zugg Software. Hosted on Wolfpaw.net