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 

Help, please - public methods in ActiveX dll not showing in

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Warren
Guest





PostPosted: Wed Mar 07, 2007 1:01 am    Post subject: Help, please - public methods in ActiveX dll not showing in Reply with quote



Hi,

I'll bet this has been covered before, but please forgive me, because
I can't find it.

I have a .NET class that I need to call from a Delphi 7 application.
So I told VB.NET to expose it to COM, and, indeed, I can use it from
VB6 via the COM wrapper that was created and registered.

So then I go to Delphi 7 and use "Import Type Library". I choose the
registered COM component that appears in the list (it's a DLL, not an
OCX, if that makes any difference). Delphi goes ahead and generates
myComponentName_TLB.pas and myComponentName_TLB.dcr in a new package.
OK, so this looks good so far. I compile the package and it puts an
object on the ActiveX palatte.

But when I try to use the object, the public methods of my class,
which I can readily access from VB6, are nowhere to be found in the
generated .pas files, and, of course, I can't call them either.

I'm sure I'm doing something boneheaded here, but I can't figure it
out. I could really use some help.

Thanks,
Warren
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) 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.