brown wrote: > I have made a simple program, but results from both windows and wine are quite different. Is this a bug in my program or in wine? Any advice is appreciated :) > bool ret=GetProcessMemoryInfo ( GetCurrentProcess() , &pmc, It's not implemented in Wine: http://source.winehq.org/source/dlls/psapi/psapi_main.c#L520 calls http://source.winehq.org/source/dlls/ntdll/process.c#L211 You should use other functions available form kernel32 instead.