I don't personally know enough about IsBadWritePtr to write a test case. Any suggestions? :P I'll check out the code later on, but for now it seems to be fine.
What else could it use to validate that pointer?
Andrei
On Fri, 2004-07-09 at 15:02, Mike McCormack wrote:
Andrei Barbu wrote:
I think even if a wine bug might be generating that bad pointer, which I don't think it is since Chessmaster works fine after that, this is how DX works, so we should implement it. If it doesn't crash on windows, why should it in wine?
It is rare that Windows uses IsBadWritePtr to validate arguments, so if you believe it works that way, prove it by writing a test case and running it on a Windows box. Somebody is going to be suprised by the results ;)
Mike