[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ProgSoc] SETVER for Windows
> Simple question: How do I fool a Win32 app into thinking it is running
> under Win98 when it is running under Win95? I've looked all over Google
> but can't seem to find the right phrase to search under.
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
don't recall offhand if you have to do GetVersionA and GetVersionW on 95)
and you should be done. Provided, that is, that they're not actually making
calls to API's that didn't exist under 95. ;)
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to firstname.lastname@example.org.
If you are having trouble, ask email@example.com for help.