PDA

Click to See Complete Forum and Search --> : AcitveX dll / ActiveX exe


turfbult
Aug 28th, 2000, 11:35 AM
Hi,

I want to write a simple program(ActiveX dll or ActiveX exe) which can be used by other programs and languages.

All that the dll(??) will do is return a True or False depending on what info is sent to it by the app calling the dll.

My questions are..

1.) what will I use - ActiveX exe or dll.
2.) Will other languages like Delphi etc be able to use/reference this program if it is registered on the pc.

Thanks,

Clunietp
Aug 28th, 2000, 09:33 PM
Use an ActiveX/COM DLL. These are the most common and are run in-process with the calling app. Any COM enabled language (running in Windows, of course) will be able to use them.

ActiveX EXEs are out-of-process components, and are much less common than in-proc DLLs. Because these are out-of-process, they are slower than their in process counterparts.

There are pros and cons to each of these, but if you just want to encapsulate some code and distribute it, package it as a DLL


Tom

turfbult
Aug 29th, 2000, 10:13 AM
Thanks Tom!!