c++.windows.32-bits - Device driver DLLs
- Paul C Elliott (12/12) Dec 22 2002 I just got the CD and still can't believe something like this can run
- Walter (13/23) Dec 22 2002 thankfully,
- Paul C Elliott (10/33) Dec 24 2002 Walter,
I just got the CD and still can't believe something like this can run without an installation and half your registry altered. It does thankfully, one day maybe all apps will work this way ..... (come to think of it even ZTC and Zorland used an install for DOS) Anyway on to the question: I'm trying to port some low level stuff using interrupts and direct hardware writes from DOS (originally in ZTC 2/3), I understand to work in NT/2K you have to produce a driver/dll to allow access to the hardware in supervisor mode. I did look into this with VCC++ and it required various SDKs and a lot of time to implement half a dozen outpw statements. Is there an easier way with dmc, can I use the MS SDKs with dmc? Thanks in advance, Paul
Dec 22 2002
"Paul C Elliott" <paul.elliotts btinternet.com> wrote in message news:au5e2p$1t34$1 digitaldaemon.com...I just got the CD and still can't believe something like this can run without an installation and half your registry altered. It doesthankfully,one day maybe all apps will work this way ..... (come to think of it even ZTC and Zorland used an install for DOS)The reason ZTC did it was because in the bad old days when software came on floppy disks, it was all compressed. Doing the unpack and sort into the right directories was a nuisance, so automating that with an install made sense. But these days, everything fits cleanly on a single CD, so no install is necessary.Anyway on to the question: I'm trying to port some low level stuff using interrupts and direct hardware writes from DOS (originally in ZTC 2/3), I understand to work in NT/2K you have to produce a driver/dll to allowaccessto the hardware in supervisor mode. I did look into this with VCC++ and it required various SDKs and a lot of time to implement half a dozen outpw statements. Is there an easier way with dmc, can I use the MS SDKs withdmc? You can probably use MS SDK's, but there will inevitably be one thing or another that needs a little hand adapting.
Dec 22 2002
Walter, Thanks for the information I'll have a go, probably after the festive season, and let you know how I got on . Paul "Walter" <walter digitalmars.com> wrote in message news:au6929$2f48$1 digitaldaemon.com..."Paul C Elliott" <paul.elliotts btinternet.com> wrote in message news:au5e2p$1t34$1 digitaldaemon.com...evenI just got the CD and still can't believe something like this can run without an installation and half your registry altered. It doesthankfully,one day maybe all apps will work this way ..... (come to think of itonZTC and Zorland used an install for DOS)The reason ZTC did it was because in the bad old days when software camefloppy disks, it was all compressed. Doing the unpack and sort into the right directories was a nuisance, so automating that with an install made sense. But these days, everything fits cleanly on a single CD, so no install is necessary.IAnyway on to the question: I'm trying to port some low level stuff using interrupts and direct hardware writes from DOS (originally in ZTC 2/3),itunderstand to work in NT/2K you have to produce a driver/dll to allowaccessto the hardware in supervisor mode. I did look into this with VCC++ andrequired various SDKs and a lot of time to implement half a dozen outpw statements. Is there an easier way with dmc, can I use the MS SDKs withdmc? You can probably use MS SDK's, but there will inevitably be one thing or another that needs a little hand adapting.
Dec 24 2002