Hi again,
now i'd like to use remoteexecute. i've a thread function, a correct window handle but nevertheless it dosn't work. what could be the reasons for it?
What window handle are you talking about? RemoteExecute has nothing to do with window handles. You need a *process* handle to get RemoteExecute working.
OpenProcess fails? How does your OpenProcess code look like? What does GetLastError say? About which process are we talking? Is it a normal application or a service or a system process?