Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Porting TypInfo stuff

0 views
Skip to first unread message

David Jameson

unread,
Sep 3, 2005, 1:50:01 PM9/3/05
to
Hi,
I'm trying to port some code into .net and struggling with converting
TypInfo stuff

I have

var
propInfo : PPropInfo; // Yes, I know this is deprecated

begin
if (propInfo <> nil) and (propinfo.getproc <>nil)

The "getproc" seems to be forbidden - D2005 tells me it's undefined. I've
looked at the CodeCompletion list and nothing there seems to resemble
GetProc.


Would appreciate any pointers (no pun intended)


Thanks,
David Jameson


danny heijl

unread,
Sep 23, 2005, 4:24:34 AM9/23/05
to
David Jameson schreef:

> I'm trying to port some code into .net and struggling with converting
> TypInfo stuff

You might consider switching to .Net "reflection", it is much more
powerful than the old Delphi Typinfo stuff.

Danny
---

0 new messages