Re: Make winelib resource data writeable

2005-05-16 Thread Alexandre Julliard
Felix Nawothnig <[EMAIL PROTECTED]> writes: > By the way, anyone knows if writing to a (readonly) resource throws an > exception on windows (which is handled & ignored by kernel32.dll) one > can catch or does the PE loader maybe ignore the RO flag for .rsrc? Yes, Windows has an exception handler

Re: Make winelib resource data writeable

2005-05-16 Thread Felix Nawothnig
Dmitry Timoshkov wrote: For PE files there is a hack in kernel/except.c which does COW for resource data - but winelib apps crash when they try to write to it. (If this is a design-decision please tell me) As it's clearly indicated in the error message in kernel/except.c only broken apps try to wr

Re: Make winelib resource data writeable

2005-05-15 Thread Dmitry Timoshkov
"Felix Nawothnig" <[EMAIL PROTECTED]> wrote: > For PE files there is a hack in kernel/except.c which does COW for > resource data - but winelib apps crash when they try to write to it. > (If this is a design-decision please tell me) As it's clearly indicated in the error message in kernel/except