Search found 10 matches

by rodo
Tue Nov 14, 2006 9:04 pm
Forum: Bug Reports
Topic: Unhandled Exception in RxElementFindChild
Replies: 7
Views: 3829

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
by rodo
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...
by rodo
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 ...
by rodo
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...
by rodo
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...
by rodo
Sun Nov 12, 2006 9:55 pm
Forum: Automation API
Topic: RxElementSelect: what are the selection values?
Replies: 2
Views: 3483

Thanks for the link!

brds
rodo
by rodo
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
by rodo
Wed Nov 08, 2006 10:35 pm
Forum: Bug Reports
Topic: RxPixelGetColor and RxPixelSetColor too slow
Replies: 4
Views: 3846

Hi,

is there any possibility to copy an area instead of only one point?

I'd like to copy about 1000x500 pixels - this takes about 1.5 sec using RxPixelGetColor...


Thx,
rodo
by rodo
Wed Nov 08, 2006 6:49 pm
Forum: Bug Reports
Topic: RxPixelGetColor and RxPixelSetColor too slow
Replies: 4
Views: 3846

Thanks for your help!

Now it takes less than 1ms.

Brds
rodo
by rodo
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,

Code: Select all

for (mx = 20; mx < 25; ++mx)
{
    for (my = 20; my < 25; ++my)
    {
        RxPixelSetColor(mx+500, my+500, RxPixelGetColor(mx, my));
    }
}
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