PixelGetColor & PixelSetColor function are slow under Vi

Class library usage, coding and language questions.
BR_05
Posts: 11
Joined: Thu Apr 05, 2007 8:04 am
Location: Switzerland

PixelGetColor & PixelSetColor function are slow under Vi

Post by BR_05 » Tue Feb 19, 2008 2: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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Post by Support Team » Tue Feb 19, 2008 4: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

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

Post by BR_05 » Tue Feb 19, 2008 4:10 pm

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

BR