Sorry, pressed for time so your gonna get a typical kind of response from me right now: small vague/obscure sentences packed with thoughts and assumptions.
***
It's a big analysis tool that already plugs into other programs, definitely can't be changed. I need a wrapper for it in autolisp - well I could try c# but as far as I have gathered autolisp has a greater chance of working across many different autocad versions.
Oh yes, that is true; it works with more versions (no "recompile" situation).
(brief)
The link below doesn't really fit in the spirit of the above--and I apologize for just tossin' a link at cha and not explaining my thoughts--but you'll get my idea once you see it.
http://www.theswamp.org/index.php?topic=33994.msg393291#msg393291(assuming, vague and obscure)
My thoughts were: If you have to distribute this package (with an installer) of yours, the installer can check which version of the above link to install.
**EDIT: I just noticed you posted
> vbDouble different to double
"vb" stands for Visual Basic. Does that mean anything? Is a double in vb different (I'm pretty sure it is but I don't know for sure)?