Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 7th, 2005, 12:11 AM   #1
sham
Newbie
 
Join Date: Mar 2005
Posts: 29
Rep Power: 0 sham is on a distinguished road
What is difference between Activex DLL and Activex EXE ?

What is difference between Activex DLL and Activex EXE ?
sham is offline   Reply With Quote
Old May 7th, 2005, 9:53 AM   #2
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
They are both forms of ActiveX COM components (application and type libraries that conform to the COM 1 specification). The main difference is a DLL is in-process, meaning it runs within the callee/client process sequentially and an EXE is out-of-process meaning it runs within its own process asynchronously. They can also be single or multi use, but the main difference is whilst a DLL basically operates as a glorified class module, an EXE operates in a parallel thread, using asynchronous callback notification. This is useful to provide multithreading abilities, for instance running the UI of an application in the host executable and then running a time-consuming processor intensive operation in the out of process thread so that the UI doesn't "freeze".

Last edited by Rory; May 7th, 2005 at 9:56 AM.
Rory is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:15 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC