Solved

Active X exe or Axtice X dll

Posted on 2004-03-20
8
400 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

635 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