In a
simple world you are correct and what you are
suggesting may work.
You
can check if a DLL contains COM objects in two ways.
a.
Search for the DLL in the registry - if it appears under the right subkey
(CLASSID??).
b.
Check if the DLL exports the functions
DllGetClassObject, DllCanUnloadNow, DllRegisterServer, DllUnregisterServer
- using an appropriate tool.
Could be fun <g>
Myles.
-----Original Message-----
From: Wes Edwards [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 9:31 AM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Interfacing to Antivirus programsHi,I'm a bit of a COM newbie, but if you have a right-click option in Explorer, that means that Norton have provided a Shell Extension COM object on your system, which will have a standard COM interface for Explorer to use. Is that a potential means of interfacing?? Or am I showing my ignorance to all ?Wes-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patrick Dunford
Sent: Wednesday, 13 December 2000 09:11
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Interfacing to Antivirus programsLook at their commandline options. The only way it will exist in an OCx is if Nortons have defined interfaces or API calls.-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy Coulter
Sent: Wednesday, 13 December 2000 07:43
To: Multiple recipients of list delphi
Subject: [DUG]: Interfacing to Antivirus programsHI all.Does anyone know of code/componets/ocx's that will let you progmatically tap into say Nortons Antivirus or anyother antivurs program to perform a scan?I want to scan a file automatically....without having to goto explorer and rightclicking on the file to perform a scan.Cheers,Jeremy Coulter=======================================================================
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/
Be joyful in hope, patient in affliction, faithful in prayer.
-- Romans 12:12
http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20001212
=======================================================================
Created by Mail2Sig - http://pdunford.godzone.net.nz/software/mail2sig/