Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Difference between Active Exe and Activex dll ?



Difference between Active Exe and Activex dll ?..

Answer / rajat

Difference between Activex dll activex exe :



ActiveX DLLs and ActiveX EXEs are almost exactly the same in
the ways they are built and used. In both cases, you build
one or more classes that applications can use to do
something. The big difference lies in where they are used.

An ActiveX DLL's code is executed within the main program's
address space. It behaves as if the class was created within
the main program's code. Because the code lies inside the
program's address space, calling methods is very fast.

An ActiveX EXE's code is run in a separate process. When the
main program calls an ActiveX EXE's method, the system
marshalls the call to translate the parameters into the
ActiveX EXE's address space, calls the method, translates
the results back into the main program's address space, and
returns the result. This is slower than running an ActiveX
DLL's method inside the main program's address space.

Because of the difference in speed, an ActiveX DLL is almost
always preferable. The reason ActiveX EXEs are useful is
they can run on a different computer than the main program
while an ActiveX DLL must run on the same computer as the
main program.

If you want to build a library of shared routines to save
programming and debugging, use an ActiveX DLL because it
will give you better performance. Even if you need to
distribute several copies of the DLL on different computers,
it will probably be worthwhile.

If you want a centralized server library, use an ActiveX
EXE. The EXE can sit on a central computer and work directly
with that computer's resources. If you need to frequently
change how the code works, you can easily change it in one
place

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Give me one example of Web API Routing?

0 Answers  


What is state management technique?

0 Answers  


what is command line compiler.what are the steps and how it is related to debugging.

0 Answers  


hi everyone. can anyone send me wipro interview questions on .net. plz its urgent

1 Answers   Wipro,


How to write unmanaged code and how to identify whether the code is managed /unmanaged?

4 Answers   Accenture,


Differentiate between a page theme and a global theme?

0 Answers  


Describe the master page.

0 Answers  


What is Forms Authentication in ASP.NET?

0 Answers  


when using personlization, how do you access over setting at runtime?

1 Answers  


Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?

0 Answers  


What is fulltrust?

0 Answers  


Descrie about response.buffer and repsonse.flush ?

2 Answers   ADP, Cognizant,


Categories