Hey, I want to check if a program is frozen by using send message..

what message should i send it? and will this work?
like could i send it something random like 0xFFFC?

Recommended Answers

All 4 Replies

I would send it a private message -- WM_USER+1 for example. But you will want to register the private message so that something else doesn't try to use the same number for another purpose.

thanks, ill try it

Wrong method.
Uses Win32 system api to test if frozen.

Wrong method.
Uses Win32 system api to test if frozen.

Would you mind explaining that, or do you always just throw in some comment and hope that you're right?

commented: I agree >.< +8
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.