hidden forms and thr handles
Posted
by shraddha
on Stack Overflow
See other posts from Stack Overflow
or by shraddha
Published on 2010-05-10T04:50:56Z
Indexed on
2010/05/10
4:58 UTC
Read the original article
Hit count: 256
i am hiding the form using SetVisibleCore to false, but now i cant get the handle of this form in other application which i am retrieving using EnumWindow its giving me exception "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." an ACCESS VIOLATION EXCEPTION.
so i am searching on 2 ways 1. find out the other way to get handle here we cant use FindWindow cause its not returning any handle 2. find a another way to hide the form but this should be done before loading of the form
so,,,plz help me if anybody can
© Stack Overflow or respective owner