>>>>> "Alexandre" == Alexandre Julliard <[EMAIL PROTECTED]> writes:

    Alexandre> Uwe Bonnes <[EMAIL PROTECTED]> 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
-- 
Uwe Bonnes                [EMAIL PROTECTED]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

Reply via email to