NO

Author Topic: Different results on two different machines  (Read 5045 times)

Offline Christian

  • Administrator
  • Member
  • *****
  • Posts: 142
    • http://www.pellesc.de
Different results on two different machines
« on: December 16, 2007, 06:58:49 PM »
Hello @ all.

I have the following problem:

I use a small code snippet to center a dialog within the parent window. (Within the zip in cbm_misc.zip) But this function works on a Intel Core2Duo 7200 Notebook (Dell Inspiron 6400), but it centers to the screen instead of the parent window on a AMD Athlon 64X2 6000.

Both working with Windows XP Pro SP2, all patches and the same PellesC.

Can someone understand this error?

Greetings from Berlin,

Christian
www.pellesc.de - German PellesC mirror (now available in german and english)

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Different results on two different machines
« Reply #1 on: December 20, 2007, 10:24:28 AM »
I dont see anything obvious in the code, and it works here. Maybe check the return value from each call, to see if the call is failing or producing a "strange" value, and then trace from there...
/Pelle

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: Different results on two different machines
« Reply #2 on: December 20, 2007, 12:13:25 PM »
How this example works in those machines ?
May the source be with you

Offline Christian

  • Administrator
  • Member
  • *****
  • Posts: 142
    • http://www.pellesc.de
Re: Different results on two different machines
« Reply #3 on: December 20, 2007, 02:20:48 PM »
Thanks to both of you!

While I was testing your app, timovjl, I found the answer:

This godd***** ATI Hydravision was active and the dialogs jumped where Hydravision wanted, not where I wanted.

So, for everyone with the same problem: Don't use Hydravision.
www.pellesc.de - German PellesC mirror (now available in german and english)