Page 1 of 1

HMG under win 8 findings

Posted: Sun Oct 13, 2013 10:47 am
by falleman
I had some problems during converting a hmg application from win xp (32bytes) to win 8 (64bytes).
When I activate a window under win xp, de next statement after <window>.Activate() is executed when the activated window (e.g. a data entry form) has been closed.
When I activate a window under win 8, de next statement after <window>.Activate() is executed BEFORE the activated window (e.g. a data entry form) has been initialized.
Does somebody recognize this problem ?

By the way, I had another "hbclass" problem with calling a method of a parent, I used super:<method>(). Under win 8 that doesn't work, there I use ::super:<method>() instead

Re: HMG under win 8 findings

Posted: Sun Oct 13, 2013 3:34 pm
by esgici
Hi Falleman

Welcome aboard :)
falleman wrote:I had some problems during converting a hmg application from win xp (32bytes) to win 8 (64bytes).
When I activate a window under win xp, de next statement after <window>.Activate() is executed when the activated window (e.g. a data entry form) has been closed.
When I activate a window under win 8, de next statement after <window>.Activate() is executed BEFORE the activated window (e.g. a data entry form) has been initialized.
Does somebody recognize this problem ?

By the way, I had another "hbclass" problem with calling a method of a parent, I used super:<method>(). Under win 8 that doesn't work, there I use ::super:<method>() instead
Please ;

- let us to know : what version of HMG you are using
- don't add your executable into post attachment

Happy HMG'ing :D

Re: HMG under win 8 findings

Posted: Sun Oct 13, 2013 5:56 pm
by esgici
falleman wrote:I had some problems during converting a hmg application from win xp (32bytes) to win 8 (64bytes).
When I activate a window under win xp, de next statement after <window>.Activate() is executed when the activated window (e.g. a data entry form) has been closed.
When I activate a window under win 8, de next statement after <window>.Activate() is executed BEFORE the activated window (e.g. a data entry form) has been initialized.
Does somebody recognize this problem ?

By the way, I had another "hbclass" problem with calling a method of a parent, I used super:<method>(). Under win 8 that doesn't work, there I use ::super:<method>() instead
Probably you are using HMG 3.1.5 and probably you need apply this patch.

Happy HMG'ing :D

Re: HMG under win 8 findings

Posted: Mon Oct 14, 2013 7:29 pm
by falleman
Thanks a lot, mr Esgici (and Dr Soto), my HMG app runs as intended again (indeed with HMG 3.1.5)

Re: HMG under win 8 findings

Posted: Mon Oct 14, 2013 7:47 pm
by esgici
falleman wrote:Thanks a lot, mr Esgici (and Dr Soto), my HMG app runs as intended again (indeed with HMG 3.1.5)
You are welcome Mr. Falleman

Happy HMG'ing :D