🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.borlanddelphi
Article #1

RTTI & Method Pointers

#1
From: Christopher Voth
Date: Fri, 21 Apr 2000 00:00
11 lines
2017 bytes
I am trying to basically recreate the Delphi Object Inspector for use at
runtime for editing properties of a selected component.
My researching has brought me to the RTTI.  The problem I am having is
reading and writing a component's property values.  I can use the GetProc
and SetProc functions to return the pointers to the read and write methods
but I don't know what to do with them.  I don't know how to call the methods
once I have the pointers to them.
Can anyone help me with this?  And/or Is there a better way to go about
(recreating) the object inspector for runtime?  I am using Delphi4.  Thanks
in advance for your help.
Chris
Technical Details
Message-ID: <etZL4.445$J5.32987@typhoon1.gnilink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108890,2b795ecc13b51a8c,start
X-Google-Attributes: gid108890,public
X-Google-Thread: 104e31,2b795ecc13b51a8c,start
X-Google-Attributes: gid104e31,public
X-Google-Thread: fd817,2b795ecc13b51a8c,start
X-Google-Attributes: gidfd817,public
X-Google-Thread: fb362,2b795ecc13b51a8c,start
X-Google-Attributes: gidfb362,public
X-Google-Thread: 145512,2b795ecc13b51a8c,start
X-Google-Attributes: gid145512,public
X-Google-Thread: 1043cf,2b795ecc13b51a8c,start
X-Google-Attributes: gid1043cf,public
X-Google-Thread: f973d,2b795ecc13b51a8c,start
X-Google-Attributes: gidf973d,public
X-Google-Thread: 109d99,2b795ecc13b51a8c,start
X-Google-Attributes: gid109d99,public
From: "Christopher Voth" <chris.voth@solar.com>
Subject: RTTI & Method Pointers
Date: 2000/04/21
Message-ID: <etZL4.445$J5.32987@typhoon1.gnilink.net>
X-Deja-AN: 613963991
X-Trace: typhoon1.gnilink.net 956326858 151.197.16.226 (Fri, 21 Apr 2000 10:20:58 EDT)
NNTP-Posting-Date: Fri, 21 Apr 2000 10:20:58 EDT
Newsgroups: alt.comp.lang.borlanddelphi,alt.comp.lang.borland-delphi,alt.lang.delphi,borland.public.delphi.internet,borland.public.delphi.objectpascal,comp.lang.pascal.delphi,comp.lang.pascal.delphi.components,comp.lang.pascal.delphi.components.misc,comp.lang
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700