forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

64 bit not behaving same as 32

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
Kenneth_Smith



Joined: 18 May 2012
Posts: 126
Location: Glasgow, Scotland.

PostPosted: Sun Oct 01, 2017 3:29 pm    Post subject: 64 bit not behaving same as 32 Reply with quote

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
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 4919
Location: Salford, UK

PostPosted: Sun Oct 01, 2017 5:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kenneth_Smith



Joined: 18 May 2012
Posts: 126
Location: Glasgow, Scotland.

PostPosted: Sun Oct 01, 2017 6:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 4919
Location: Salford, UK

PostPosted: Wed Oct 04, 2017 2:14 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Kenneth_Smith



Joined: 18 May 2012
Posts: 126
Location: Glasgow, Scotland.

PostPosted: Wed Oct 04, 2017 8:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
John-Silver



Joined: 30 Jul 2013
Posts: 558

PostPosted: Wed Oct 04, 2017 9:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 1652
Location: Yateley, Hants, UK

PostPosted: Wed Oct 04, 2017 9:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group