Solved

Active X exe or Axtice X dll

Posted on 2004-03-20
8
395 Views
Last Modified: 2013-11-18
How to decide that whether to go for Active X exe or Axtice X dll.?
0
Comment
Question by:sanjusambhe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
8 Comments
 
LVL 12

Accepted Solution

by:
guidway earned 250 total points
ID: 10643119
Activex dll will run in the process space of the called application, so it is called in-process component. This is where I generally put most of my code. However with this you will have to have an activex exe also that calls the dll since a dll is not an executable file.

acitvex exe - is out-process component. It runs as different process space from the called application. This is the actual application executable (.exe) you will run to start the application. You can reference your .dll file here and access the functions of it however you want.

does that help?

0
 
LVL 12

Expert Comment

by:guidway
ID: 10643123
otherwise they have the same abilities as each other.
0
 

Expert Comment

by:farri_no2
ID: 10643646
Also ActiveX Exe are considered to be running on multi processor machines ... there are several set of attributes that you can set to make it run at its best for a multi processor machine ... for further info check these resources ...

how to create an ActiveX Exe:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconctcmp02recap.asp

And check activeX ABC on:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaxctrl/html/msdn_abcsmfc.asp

Hope it helped ... do contact me in case you need further clearifications / example ...

CIAO
FP
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Expert Comment

by:_ys_
ID: 10651623
Performance and security come to mind:
- For assured performance choose in-process servers (DLL). Process switches are slower than thread switches.
- On the flip-side, out-of-process servers (EXE) will give you greater security; as controller of the main thread you govern COM security.

Also, if you need multi-threaded support then EXE should be your *only* choice. As a rule, never create threads from an in-process server (DLL).

HTH.
0
 

Expert Comment

by:farri_no2
ID: 10830164
hey sanjusambhe,
please opt of a request that has helped you and close this question.

Ciao
FarriJ
0
 
LVL 12

Expert Comment

by:guidway
ID: 10837768
agree with the recommendation if the asker does not come back.

guid
0
 
LVL 12

Expert Comment

by:guidway
ID: 10849440
why a 'C' grade? How was the information not helpful to you?
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question