Click to See Complete Forum and Search --> : General Question


jplenhart
May 27th, 1999, 10:41 AM
Would it make sense to use an Active X dll to handle a certain operation in my applications. This way both applications could access the same operation. What are the advantages of doing this? Is is faster to access a dll rather then just placing it in the code itself.

Ravi Kiran
May 28th, 1999, 02:16 AM
Hi,
If more than one application is using a same kind of operation/functions, it certainly makes sense to put it in a dll, and share it.
Advantages are code reuse ( at component level, remember you are sharing binaries). A small reduction in total size (i.e of all together)
and all the advantages associated with COM itself.

Reg. Speed - ActiveX components have a COM interface, and COM rolls on OLE, so "strictly" speeking it should be 'slower' than direct coding. BUT then, you could tweek elsewhere in the code for speed & performance than worry about the time taken to access the dll!!. The advantages DO outweigh speed considerations atleast. I would say 'difficulty in deployment' would rate higher ( as disadvs.) than 'speed considerations'.

Ravi