Wrox Programmer Forums
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 30th, 2003, 06:24 AM
Registered User
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ActiveX Exe and Dll

I want to know the details of the following

1)What is ActiveX Dll and ActiveX Exe
2)ActiveX Exe and Dll,
3)Advantage of ActiveX Dll over Active Exe,
4)Difference Types of Instancing Property in ActiveX Dll and Exe
5)types of ActiveX Components in VB?

Your information is very helpful for us.

Thank & regards

Old September 26th, 2003, 07:48 AM
Registered User
Join Date: Aug 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

An ActiveX Dll runs is an in process server running in the same memory space as the client process.

An ActiveX Exe is an out of process server which runs in it's own separate memory space.

Question 2 is the same as question 1.

Advantages of ActiveX Dll
1) An in-process component shares its client’s address space, so property and method calls don’t have to be marshaled. This results in much faster performance.

Disadvantages of ActiveX Dll
1) If an unhandled error occurs it will cause the client process to stop operating.

Advantages of ActiveX Exe
1) The component can run as a standalone desktop application, like Microsoft Excel or Microsoft Word, in addition to providing objects.
2) The component can process requests on an independent thread of execution, notifying the client of task completion using events or asynchronous call-backs. This frees the client to respond to the user.
3)If an error occurs the client processes can continue to operate.

Disadvantages of ActiveX Exe
1) Generally slower than an ActiveX dll alternative.

For instancing see:


For project types see:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advantages /Disadvantages of ActiveX DLL & ActiveX priyank Beginning VB 6 6 February 19th, 2007 11:34 AM
Connecting to an ActiveX exe Tweety77 VB How-To 4 September 19th, 2006 01:21 PM
ActiveX.exe to standard exe Kaustav VB How-To 6 February 24th, 2006 12:10 AM
Using a ActiveX DLL in a Standard EXE earendall74 Beginning VB 6 2 November 24th, 2004 01:39 PM
Calling an ActiveX.EXE in C++ xgbnow Pro VB 6 13 February 20th, 2004 12:31 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.