|
-
September 7th, 2004, 12:38 PM
#2
Re: changing the icon of a window
The problem is that the icon handle gets destroyed as soon as your application terminates. You need to inject some code into the target process and execute LoadImage in the context of the target process. This way the icon handle will be accounted for that process and will remain valid as long as the target process exists.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|