Silverfrost Forums

Welcome to our forums

64 bit not behaving same as 32

1 Oct 2017 2:29 #20342

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'.

  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

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

1 Oct 2017 4:47 #20345

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.

1 Oct 2017 5:48 #20346

Thanks Paul,
I've been pulling my hair out over this one. Going back to DLL8 seems to be OK for now.
Ken

4 Oct 2017 1:14 #20360

Ken

Here is a new set of DLLs with a fix for the %gr regression.

https://www.dropbox.com/s/qbe7moxz1w4psa7/newDLLs14.zip?dl=0

4 Oct 2017 7:11 #20367

Thanks Paul. I can confirm that the complex %gr code I was struggling to compile on Sunday works fine with the new DLL.

4 Oct 2017 8:57 #20370

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

Please login to reply.