Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
Importing Cl***es
Old
  (#1)
Geoff Turner
Guest
 
Posts: n/a
Default Importing Cl***es - 06-04-2007, 08:56 AM

Hi all,
OK, I have a DLL program that contains a couple of cl***es. There are two
things I would like to know:
1: How do I export a cl*** from a DLL
2: How do I import the cl*** into VB6?

Note: The DLL in question is home-grown and written in VC++.

Thanks for any help.
GST


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Importing Cl***es
Old
  (#2)
Steve Gerrard
Guest
 
Posts: n/a
Default Re: Importing Cl***es - 06-04-2007, 08:56 AM


"Geoff Turner" <EMAIL REMOVED> wrote in message
news:br9f8d$EMAIL REMOVED...
> Hi all,
> OK, I have a DLL program that contains a couple of cl***es. There are

two
> things I would like to know:
> 1: How do I export a cl*** from a DLL
> 2: How do I import the cl*** into VB6?
>
> Note: The DLL in question is home-grown and written in VC++.
>
> Thanks for any help.
> GST
>
>

For it to work in VB6, you have to make it an ActiveX Dll in VC++. I
believe there are wizards and such for doing this in Visual Studio. I
only did a few simple tutorial-type examples of this, so I don't much
about the details, except that there are quite a few things you have to
do to make it an ActiveX Dll.



   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top