Guess??  hehehe....not sure....might have to dig a bit deeper.
 
Cheers, Jeremy Coulter
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patrick Dunford
Sent: 13 December, 2000 6:49 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Interfacing to Antivirus programs

MCSCAN32.DLL contains the following exports:
 
  18 exported name(s), 19 export addresse(s).  Ordinal base is 2.
    Ordinal RVA       Name
    ------- --------  ----
    0006    00013550  VS_DeleteFile
    0002    00013260  VS_End
    0012    000131c0  VS_GetAbsIO
    0014    000196b0  VS_GetEngineInfo
    0011    000135b0  VS_GetInfectedItemInfo
    0000    00012f20  VS_Init
    0001    00012fc0  VS_InstanceInit
    0016    000135f0  VS_IsRemoverAvailable
    0015    00013630  VS_ReadVirusList
    0010    00013590  VS_RepairBoot
    0007    00013570  VS_RepairFile
    0008    00013340  VS_ScanBootEx
    0005    00013530  VS_ScanCompressed
    0003    00013470  VS_ScanFile
    0009    000132e0  VS_ScanMemory
    0013    000131e0  VS_SetAbsIO
    0018    00013220  VS_SetAbsIOEx
    0017    00013610  VS_SetExtendedOpts
 
 
How do you work out the function parameters :)
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Myles Penlington
Sent: Wednesday, 13 December 2000 09:47
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Interfacing to Antivirus programs

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.
 
 

=======================================================================
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/

Reply via email to