Re: LoadResource with module=0x00400000 followed by stack overflow

2006-06-23 Thread Jonathan Clark
  On Tue, 20 Jun 2006 12:49:25 +0200, Jan-Espen Pettersen wrote: > Can a win32 program expect that it has write access to the memory > pointed to by the return value of LoadResource with module 0x0040? > Should LoadResource in some cases copy the memory and return a > writeable c

Re: LoadResource with module=0x00400000 followed by stack overflow

2006-06-23 Thread Mike Hearn
On Tue, 20 Jun 2006 12:49:25 +0200, Jan-Espen Pettersen wrote: > Can a win32 program expect that it has write access to the memory > pointed to by the return value of LoadResource with module 0x0040? > Should LoadResource in some cases copy the memory and return a writeable > copy of the resour

LoadResource with module=0x00400000 followed by stack overflow

2006-06-20 Thread Jan-Espen Pettersen
I get this stack overflow exception while trying to run the Watchtower Library Setup on FreeBSD 6.1. I have extracted some debug lines which I think is relevant. Please ask if you need more information. 0009:Call ntdll.LdrFindResource_U(0040,0034ecf0,0003,0034ec8c) ret=9c266b12 0009:trace: