🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.rtl.dotnet
2 messages
2 total messages Started by David Jameson Sat, 03 Sep 2005 17:50
Porting TypInfo stuff
#7
Author: David Jameson
Date: Sat, 03 Sep 2005 17:50
24 lines
1383 bytes
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 
Re: Porting TypInfo stuff
#9
Author: danny heijl
Date: Fri, 23 Sep 2005 08:24
10 lines
1258 bytes
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
---
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads