CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows NT vs Win95 EXE's
>I write on NT but ship for W95 and NT. I've not had any problems yet. I know
>that some of the functions in WIN32 are implemented for NT but only stubbed
>out in W95. I've not found a list of them. A book that I was reading on
>internals mentioned some differences in process management.
>
>Any one else with some insite?
There is at least one function, IsProcessorFeaturePresent(), that
is not even stubbed out in Win95. This is mentioned in the Win32
API help on that function, so you probably just need to check out
all the help topics of all the Win32 functions you are explicitly
calling. Everything that gets called inside the VCL classes is
probably stuff that works on Win95 just as well.
If you just call IsProcessorFeaturePresent(), the app will complain
at startup and refuse to run on Win95. (No, it won't wait until it
gets to the actual call of that function before complaining; it
won't run at all.) So you'll have to use LoadLibrary() and
GetProcAddress() to use this function, and design your code to
gracefully skip over whatever you were doing that needed
IsProcessorFeaturePresent().
--
Holger Friedrich
Chemnitz, Germany
E-Mail: hf@glare.in-chemnitz.de
Second chance: easy!glare!hf@thunder.hrz.tu-chemnitz.de
W Komornicki's Home Page |
Main Index |
Thread Index