Hi,
I just want to know if there is a function like
GetProcessMemoryInfo()?
under CE? I'm not able to found anything similar to that... I just want to know How much memory my program is taking when running.
TIA
GetProcessMemoryInfo is exported in psapi.dll for WindowsCE, but, as many other functions, it is not officially available.
This is the relevant output from dumpbin /EXPORT for psapi.dll:
6 F 00002F40 GetProcessMemoryInfo
Just LoadLibrary() psapi.dll into your program and GetProcAddress() the reference of GetProcessMemoryInfo().
Actually, it is quite interesting to see how many functions MS did not include in their WinCE headers, even though they are present. Of course, it is not guaranteed that they will work as expected, but all the "hidden" funtions i have tried have worked fine so far.
cryo
hehehe, yeah, it's gr8 :)
I think I will use this method more often :P
Thanks