Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Active X exe or Axtice X dll

Posted on 2004-03-20
8
Medium Priority
?
409 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 500 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
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Progress
Suggested Courses

721 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