Agax Developer Home Page
Well, it's finally here. I think I've stretched the deifnition of 'Real Soon Now' about as far
as it will go, so here is the Additive SDK, which currently
consists of a header file Agax.h and an example Additive CODE9811
project and source (CW11 format).
I was going to write a nice user-friendly document here describing exactly how each of
the calls works and its ramifications, but once again I really don't have the time. But if I
get lots of questions then I will ... or maybe turn this page into some sort of FAQ
(TechNotes anyone?). I'm currently assuming that if you know how to analyze a virus
you know how to write a 68K plugin.
There are a few points worth mentioning however that I don't believe you could pick up
from the header file and example:
- Don't stuff around with the sort order of files in directories - you are being called in
the middle of a straightforward scan. If the index of your file isn't the same as when you
were called infected files could get skipped. This means you have to be very careful
when renaming things, and that you can't delete things (but you can recommend that the
user deletes them).
- Agax does some very nasty stuff to access files it wouldn't otherwise be able to. This
means that you might get some other application's FCB instead of a new one of your own.
Agax takes care of file pointers and all that sort of stuff, but just be careful.
- Watch out for resources that haven't been loaded (nil master ptr)
- Be considerate towards other applications - treat writing an Additive like writing an INIT,
because if you're enabled with Defender it pretty much will be.
Back to Agax home page
Last updated 28/4/2002