Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2006

Tip: Looking for answers? Try searching our database.

how to use VB 6 dll in VC++ 6

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ashutosh - 03 Jun 2006 07:16 GMT
Hi
I have a ActiveX DLL written in VB 6, the dll has two classes. I have to use
these classes in a VC 6.0 or VC +.NET 2003 unmanaged project.

In VC 6.0 I have no idea as how to use it..

In VC++ .NET 2003, I can add the reference to the VB dll, but i can't use
it. Please help me with the syntax.

Regards,
Ashutosh
Marcus Heege - 03 Jun 2006 08:28 GMT
VB6 produces COM Servers. To use these in VC++, you have to create a COM
Client. The #import directive can be quite useful that task.

Marcus

> Hi
> I have a ActiveX DLL written in VB 6, the dll has two classes. I have to
[quoted text clipped - 7 lines]
> Regards,
> Ashutosh
"Gary Chang[MSFT]" - 05 Jun 2006 08:19 GMT
Hi Ashutosh,

Please also chech the reply in the vc.language newsgroup's thread. One MVP
provided his suggestion there.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.