O.P. api question
hi....i have a question...i have tried to call an api with this code
var exhnd=Interop.Call("User32","FindWindowA","Notepad",null);
Debug.Trace(exhnd)
Interop.Call("User32","ShowWindow",exhnd,0)
but i can't understand why exhnd value is always 0 even if actually the handle is not 0...can anybody help me???sorry for my english.
This post was edited on 12-03-2006 at 05:23 PM by TheGuruSupremacy.
|