You can also check vor availability of this single function with
GetProcAddress(GetModuleHandle("kernel32.dll"),"funcname") and use the
pointer from there if not NULL. If this is the only unknown function in
Win95/NT4 then we should not boot out all people because of a single
function. That construct would do the same.
At 21:48 30.10.2003, you wrote:
At 09:10 PM 10/30/2003 +0100, Marcus Börger wrote:
"Andi Gutmans" andi@zend.com wrote in message
news:5.1.0.14.2.20031029233328.032153e8@127.0.0.1...Argh, this only works on Windows 2000 and later or Windows 98 and later.
I guess I'll need to #ifdef it somehow. Anyway, I'd still like you
to check
it as I assume you're not using Windows 95 or NT 4 :)Even microsoft has stopped support for those, so why should we care?
Someone claimed that in the far east Win95 and NT 4 are still popular.
I would like to have a discussion here and decide on this issue. We are
only talking about the support of our binary distribution. I think I can
make the source compatible using #ifdef.Andi
--
Uwe Schindler
thetaphi@php.net - http://www.php.net
NSAPI SAPI developer
Erlangen, Germany
At 11:01 PM 10/30/2003 +0100, Uwe Schindler wrote:
You can also check vor availability of this single function with
GetProcAddress(GetModuleHandle("kernel32.dll"),"funcname") and use the
pointer from there if not NULL. If this is the only unknown function in
Win95/NT4 then we should not boot out all people because of a single
function. That construct would do the same.
Yeah, I also thought of that but I don't really want to do run-time checks.
It is a possibility though.
Andi