 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Warren Guest
|
Posted: Wed Mar 07, 2007 1:01 am Post subject: Help, please - public methods in ActiveX dll not showing in |
|
|
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 |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group .
|