hi. I made a program but i see in process explorer that the number of Handles of my app is counting up continously, compared to other regular programs. I beleived that it was caused by my multiple calls using ReadProcessMemory or OPenProcess API to an external program that was on a timer that triggers ever 1/3 of a sec.
Is it ok if i leave my program like that? how can i avoid that, but still able to check if the program is still running or not?

i also had problem looking for the handle for a particular program. i got managed SendMessage and WM_SetText to work but i need to input the handle to that control manually. i dont know why findwindowex did not work.
Here is the details spy++ about the control im targeting:

Handle: 0039110C [this one is changing evertime the program goes to system tray, when minized its not changing]
Caption: ""
Class:RichEdit20A
Style:501110C4

when i look on its properties First Child and Owner Windows is '(None)'

thanks!