Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

Application memory usage

$
0
0

I need help on how to display my applications memory usage. GlobalMemoryStatusEX is giving me some of what i need. But i also must have the handle and thread count.

 

GetProcessHandleCount should give me the handles. I don't know how to call it. It seems to accept a windows handle return value from calling FindWindowW which is part of the base PFC platform service. The other argument seems to be a ulong. I've played with the syntax and it's not working.

 

Additionally I'm not able to locate a thread count function but a .NET colleague just showed be an example. He has no idea about declaring externals in Powerbuilder so we can't speak each others language to find out how his works. I need help!


Viewing all articles
Browse latest Browse all 2881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>