Bert
Mon Oct 27 09:53:28 CST 2003
Would love to abandon it (and in my mind I have) unfortunately my employer
thinks otherwise :)
Bert
"Walter Oney" <waltoney@oneysoft.com> wrote in message
news:3F95D8E4.AD4F856A@oneysoft.com...
> Ray Trent wrote:
> > Not really, I'm afraid. It's been a long time since I played with SetupX
> > at all. Back when we wrote our 95 installer (in '95 :-), there was no
> > documentation at all, so we had to reverse engineer it all by dumping
> > the exports from SetupX.dll and installing a shim DLL to figure out what
> > it was doing for our device class.
> >
> > Since then, I think MS may have documented some of it (though I don't
> > have the 98DDK installed on my machine, so I can't check). Basically, my
> > recollection was that it involved enumerating the devices with
> > DiGetClassDevs, enumerating the compatible drivers with
> > DiBuildCompatDrvList, selecting that in the LPDI structure, and then
> > calling DiInstallDevice to install the selected driver onto the device.
>
> You could try looking at the 16-bit version of FASTINST in my book. I
> did the same sort of trial and error to figure that out. IIRC, the
> 16-bit APIs are documented in MSDN. Or else they were sufficiently
> similar to the 32-bit APIs that I was able to figure out what to do with
> them by trying to imagine how they evolved to their 32-bit counterparts.
> Plus I got lucky with some guesses.
>
> Oh, the heck with it. Let's just abandon 98/Me, why don't we?
>
> --
> Walter Oney, Consulting and Training
> Basic and Advanced Driver Programming Seminars
> Check out our schedule at
http://www.oneysoft.com