PixelGetColor & PixelSetColor function are slow under Vi : Automation API

PixelGetColor & PixelSetColor function are slow under Vi

Class library usage, coding and language questions.

PixelGetColor & PixelSetColor function are slow under Vi

Postby BR_05 » Tue Feb 19, 2008 3:44 pm

Hello,

I saw a little problem about the Function PixelGetColor & PixelSetColor.

In fact, the execution time for those functions is very slow when I use with Vista (Tested with Vista Ultimate, Business and Home Premium. But with XP works fine)

Have you already seen this problem ?

(I use the version Ranorex Pro 1.2.0)

Thanks in advance

BR
BR_05
 
Posts: 11
Joined: Thu Apr 05, 2007 9:04 am
Location: Switzerland

Postby Support Team » Tue Feb 19, 2008 5:03 pm

It could be a problem when desktop composition is enabled (as with the Aero theme).
But i think this should work fine under Classic theme, please try the same in Classic.

We realized a similar problem with the CompareImage functions in Vista.
We fixed this bug in our upcoming release V1.4. You will be able to use the following (quick) functions in this version:


ControlCompareImage
ControlCompareImageFile
ControlFindImage
ControlFindImageFile

Jenö
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Postby BR_05 » Tue Feb 19, 2008 5:10 pm

Thank you so much for your help, In fact it works fine with classic theme.

BR
BR_05
 
Posts: 11
Joined: Thu Apr 05, 2007 9:04 am
Location: Switzerland


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests