Now I found the reason for the problem:
I started a new thread using AfxBeginThread. The thread function calls another function to find all browser elements.
If I start the thread function directly (not in a new thread) it works!
Brds
rodo
Search found 10 matches
- Tue Nov 14, 2006 9:04 pm
- Forum: Bug Reports
- Topic: Unhandled Exception in RxElementFindChild
- Replies: 7
- Views: 3829
- Tue Nov 14, 2006 8:37 pm
- Forum: Bug Reports
- Topic: Unhandled Exception in RxElementFindChild
- Replies: 7
- Views: 3829
Now it works - thank you very much! I tried this: browser = RxFormFindTitle ("Microsoft Internet Explorer", MATCH_SUBSTRING, TRUE, 3000); if (browser == 0) { return FALSE; } if (!RxControlGetElement (browser, &elBrowser)) { return FALSE; } DumpElementTree (&elBrowser, 0); Your code: browser = RxForm...
- Tue Nov 14, 2006 12:30 am
- Forum: Bug Reports
- Topic: Unhandled Exception in RxElementFindChild
- Replies: 7
- Views: 3829
I tried to do like this in DumpElementTree function: ... try { if (RxElementGetChild (pElem, index, &child)) { DumpElementTree (&child, level, pFout); } } catch (...) { // do nothing } The exception occures in element (pElem): role = 10 name = "" class = "Shell DocObject View" But my element is not ...
- Mon Nov 13, 2006 11:50 pm
- Forum: Bug Reports
- Topic: Unhandled Exception in RxElementFindChild
- Replies: 7
- Views: 3829
Thank you for your reply. Using HWND addressBox = ::RxFormFindChildClassName(browser, "Edit"); I can find addressbox, but there is still an unexpected exception in DumpElementTree function. btw: Actually I want to use a FindElementByValue function, but it does almost the same as DumpElementTree - it...
- Mon Nov 13, 2006 7:50 pm
- Forum: Bug Reports
- Topic: Unhandled Exception in RxElementFindChild
- Replies: 7
- Views: 3829
Unhandled Exception in RxElementFindChild
Hi, i get an unhandled exception in RxElementFindChild function: browser = RxFormFindTitle ("Microsoft Internet Explorer", MATCH_SUBSTRING, TRUE, 3000); if (browser == 0) { return FALSE; } if (!RxControlGetElement (browser, &elBrowser)) { return FALSE; } if (!RxElementFindChild (&elBrowser, 42, "Adr...
- Sun Nov 12, 2006 9:55 pm
- Forum: Automation API
- Topic: RxElementSelect: what are the selection values?
- Replies: 2
- Views: 3483
- Sun Nov 12, 2006 1:49 pm
- Forum: Automation API
- Topic: RxElementSelect: what are the selection values?
- Replies: 2
- Views: 3483
RxElementSelect: what are the selection values?
Hi,
unfortunately, I cannot find anything about this parameter in documentation. Please help me...
Thx,
rodo
unfortunately, I cannot find anything about this parameter in documentation. Please help me...
Thx,
rodo
- Wed Nov 08, 2006 10:35 pm
- Forum: Bug Reports
- Topic: RxPixelGetColor and RxPixelSetColor too slow
- Replies: 4
- Views: 3846
- Wed Nov 08, 2006 6:49 pm
- Forum: Bug Reports
- Topic: RxPixelGetColor and RxPixelSetColor too slow
- Replies: 4
- Views: 3846
- Wed Nov 08, 2006 12:04 am
- Forum: Bug Reports
- Topic: RxPixelGetColor and RxPixelSetColor too slow
- Replies: 4
- Views: 3846
RxPixelGetColor and RxPixelSetColor too slow
Hi,
Why does it take about 5 sec to finish this example?
I am using a 2.6MHz computer, VC++ .NET, Win XP, release-compiled program.
Thanks
rodo
Code: Select all
for (mx = 20; mx < 25; ++mx)
{
for (my = 20; my < 25; ++my)
{
RxPixelSetColor(mx+500, my+500, RxPixelGetColor(mx, my));
}
}
I am using a 2.6MHz computer, VC++ .NET, Win XP, release-compiled program.
Thanks
rodo