Hi,
Quote:
|
proc.Handle and app are not comparable types so this can't work.
|
Both are unsigned 32 bit numbers. So you can typecast them to int or to IntPtr to compare. Worth to try and see if the number is the same
I dont know if there is other / simpler solution as the one you do. But seems ok if it works of course.