Solved

Active X exe or Axtice X dll

Posted on 2004-03-20
8
394 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
  • 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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
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 …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

713 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