BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi internal record types in OLE automation

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
LH
Guest





PostPosted: Thu Dec 23, 2004 9:02 am    Post subject: Delphi internal record types in OLE automation Reply with quote



Hi,

I want to be able to create a function that fx. returns a TPoint.
I can create a TPoint record in the typelib. editor, and use it in Delphi,
but Delphi (of course) see the types as two differend types (Because it is
declared in two differend units).
Anyway I can use the TPoint type from the Windows unit in the typelib?


Merry Christmas,
L.Holm


Back to top
George Birbilis
Guest





PostPosted: Thu Dec 23, 2004 2:53 pm    Post subject: Re: Delphi internal record types in OLE automation Reply with quote



Quote:
I want to be able to create a function that fx. returns a TPoint.
I can create a TPoint record in the typelib. editor, and use it in Delphi,
but Delphi (of course) see the types as two differend types (Because it is
declared in two differend units).
Anyway I can use the TPoint type from the Windows unit in the typelib?

Delphi has some automation wrappers for its Font etc. datatypes
maybe you could see how it does it for the Font etc. and register your own
automation wrappers or something for Point as well


--
-----
George Birbilis (birbilis (AT) kagi (DOT) com)
http://www.kagi.com/birbilis
--------------



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation 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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.