[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ProgSoc] SETVER for Windows
On Sat, 28 Oct 2000, McLachlan, Paul wrote:
> I'm not sure that's a good idea, but if I had to do it I'd be looking in
> MSDN at some of Matt Pietrek's articles, there's example code and the whole
> blurb to intercept Windows calls. (Almost as easy as writing an LD_PRELOAD
> .so that replaces stuff in libc). Just simulate the GetVersion call (I
Crap. Is that the simplest option? I was hoping for at least a registry
entry to hack. Yeah I realise that if the app calls upon a actual "new
feature" in Win98 then I'm rooted (Win95C OSR2.5 has USB support so you
can either start a new thread right here or keep quiet).
DOS was so much better:
SETVER DODGYAPP.EXE 4.00
and all was done.
I don't think it'd be as easy as changing the version in MSDOS.SYS or
IO.SYS or whatever sets the DOS version to 7.1, do you? I had a fun time
the other day, chasing down the reason why Windows was so C:-centric,
trying to boot off drive E: and getting nowhere ... I was throwing PATH
statements all over the place and it was still hardcoded, until I found
MSDOS.SYS, full of useful text parameters, and a very sad space-filler
hack to get around MS's old 1K minimum size requirement for MSDOS.SYS.
Anyway OS X is throwing up some gem pains of its own. It has BSD links
and it has Mac aliases, but they're two different beasts.
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to email@example.com.
If you are having trouble, ask firstname.lastname@example.org for help.