View previous topic :: View next topic |
Author |
Message |
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Sun Oct 01, 2017 3:29 pm Post subject: 64 bit not behaving same as 32 |
|
|
The following code creates a window with a graphics region via %gr, which the user can then close the window via the exit tab or closing the window.
This works fine with 32 bit, but causes an exception with 64 bit. This is the simplest example I can generate - started off with much more complex program which was working fine in 32 bit and then I thought "better try 64 bit".
Code: |
program main
implicit none
include<windows.ins>
integer i
i = winio@('%mn[Exit]&','Exit')
i = winio@('%gr&',890,560)
i = winio@('%ff&')
i = winio@('%cn%ws','Title')
end program main |
If the line
Code: | i = winio@('%gr&',890,560) |
is commented out, 64 bit behaves the same as 32.
Is this a bug, or am I failing to see something terribly obvious?
Ken |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7927 Location: Salford, UK
|
Posted: Sun Oct 01, 2017 5:47 pm Post subject: |
|
|
Ken
There is a regression in %gr the latest interim DLLs that I have uploaded.
If you can't go back to an earlier version then please let me know and I will see what can be done. |
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Sun Oct 01, 2017 6:48 pm Post subject: |
|
|
Thanks Paul,
I've been pulling my hair out over this one. Going back to DLL8 seems to be OK for now.
Ken |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7927 Location: Salford, UK
|
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Wed Oct 04, 2017 8:11 pm Post subject: |
|
|
Thanks Paul. I can confirm that the complex %gr code I was struggling to compile on Sunday works fine with the new DLL. |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Wed Oct 04, 2017 9:45 pm Post subject: |
|
|
what is a %gr regression ?
I've seen the term used on a few posts in the past but never bothered to ask |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2388 Location: Yateley, Hants, UK
|
Posted: Wed Oct 04, 2017 9:57 pm Post subject: |
|
|
A regression is when changes are made that stop something working that previously worked. This regression is about %gr.
Regressions in the compiler are a terrible thing, aren't they? That's why proper releases demand such exhaustive testing.
Eddie |
|
Back to top |
|
|
|