Problems with x86 vs 64 bit

Ask general questions here.
Posts: 14
Joined: Wed Apr 01, 2009 7:32 pm

Problems with x86 vs 64 bit

Post by jjorgens » Fri Sep 11, 2009 11:30 pm

Platform: Windows Server 2008 R2 Enterprise
Ranorex Version:

I am having problems running my x86 compiled code on my windows 64 bit box. The one particular form I am working with is x86 bit. I was reading the other posts in the forum about how the x86 spy and the 64 spy return different results. I noticed this when I was using the spy to find a list item. When I used the x86 spy I got the proper results as expected because the form is x86. When I go to run my code (which is compiled x86), it appears to run Ranorex in 64 bit mode.

If it runs in 64, it is looking for this: (the @text is empty)

Code: Select all

/form[@title~'My Form']/list/listitem[@text='']
in x86:

Code: Select all

/form[@title~'My Form']/list/listitem[@text='List Item in My Form']
I complied my code as x86 and I want to run as x86 because the program I am working with is running in x86 on a 64 bit box. Is there a way to do this?

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

Re: Problems with x86 vs 64 bit

Post by Support Team » Sat Sep 12, 2009 9:58 am

If you compiled your code specifying x86 processor type, then it should be carried out as 32 bit (x86) process even on a 64 bit machine. So actually, what you did should have already worked. Please, check that you have the correct configuration in your project settings as described in the following section in the Ranorex User Guide: ... forms.html

Ranorex Support Team