Hallo Comm,
Ich habe eine .NEt applikation und versuche diese mit einer konsolenapplikation zu entdecken. Nun, er findet aber das fenster nicht
Konsole:
.NET
Er findet es mit "test" und auch mit "Form1" als Suchwort nicht. Wenn man aber "notepad" eingibt, geht es ::CONFUSED::
Ich habe eine .NEt applikation und versuche diese mit einer konsolenapplikation zu entdecken. Nun, er findet aber das fenster nicht
Konsole:
Code:
HWND wnd = 0;
while(!wnd){
wnd = FindWindow("test", NULL);
if(wnd)
{
wnd = GetWindow(wnd, GW_CHILD);
}
Sleep(10);
}
.NET
Code:
this->Name = L"Form1";
this->Tag = L"test";
this->Text = L"Form1";
Er findet es mit "test" und auch mit "Form1" als Suchwort nicht. Wenn man aber "notepad" eingibt, geht es ::CONFUSED::