Re: Large memory reporting

2004-08-15 Thread Shachar Shemesh
Ivan Leo Puoti wrote: Wine will have to unfortunately do the same to achieve 100% compatibility for all the apps that work on windows only thanks to specific hacks. While you are, no doubt, correct that 100% windows compatibility means that we will have to, eventually, do that, I don't think th

Large memory reporting

2004-08-15 Thread Ivan Leo Puoti
> /* work around for broken photoshop 4 installer */ You may have to consider handling this like Microsoft does. If you read trough m$ blogs, you'll find that what microsoft usually does is have all sort of workarounds for broken apps, without them lots of stuff would not run on window xp. To wo

Re: Large memory reporting

2004-08-15 Thread Dmitry Timoshkov
"Shachar Shemesh" <[EMAIL PROTECTED]> wrote: > If so, is there a way for me, when at the heap.c code, to know whether > that flag was set on loading the current process? (copied from dlls/ntdll/loader.c): PEB *peb = NtCurrentTeb()->Peb; IMAGE_NT_HEADERS *nt = RtlImageNtHeader( peb->ImageBaseAdd

Large memory reporting

2004-08-15 Thread Shachar Shemesh
Hi list, I have a Windows program that tries to find out how much memory it has at its disposal using "GlobalMemoryStatus". The machine has 4GB of physical memory and about 100MB of swap. GlobalMemoryStatus returns 2GB of physical memory and 0 available swap. It seems the problem is at dlls/ker