hi, all.
In my computer(windows2000 professional), I found this code doesn't
work!
SystemParametersInfo(0x2000/*SPI_GETFOREGROUNDLOCKTIMEOUT*/,0,&dwTimeOut,0))
;
The value of dwTimeOut always equals to Zero.But the same code in VC++
6.0 works well! Why ?? What things I should do for query the right value in
vc.net?? Thanks for any help!
David Lowndes - 06 Jul 2004 10:55 GMT
> In my computer(windows2000 professional), I found this code doesn't
>work!
[quoted text clipped - 3 lines]
> The value of dwTimeOut always equals to Zero.But the same code in VC++
>6.0 works well!
This is an OS API function, the choice of compiler has no bearing on
this code. Therefore I don't see how this is a VC6 vs .Net compiler
issue. Are the machine's different?
Dave

Signature
MVP VC++ FAQ: http://www.mvps.org/vcfaq