"Alexandre" == Alexandre Julliard julliard@winehq.com writes:
Alexandre> Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de writes: >> PROPSHEET_CreatePage writes to ppshpage->u.pResource when >> PSP_DLGINDIRECT is set. MSDN also tells that applications will break >> if pResource is not writable. It seems that above patch maps the >> resource section write protected.
Alexandre> Actually it should be read-only, and the default exception Alexandre> handler is supposed to unprotect it to hide bugs in broken Alexandre> apps. But writing to resources is a bug in any case, and that Alexandre> propsheet code needs to be fixed. In fact there's already a Alexandre> hack in there to avoid the same issue with builtin resources; Alexandre> I guess it's really time to fix it properly.
Yes, I forget to note that it works with (NT) native commctrl and so the protection seems right...
Bye