 |
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
Ryan
Joined: 25 Feb 2016 Posts: 110
|
Posted: Sun Sep 16, 2018 11:48 am Post subject: cw forces app quit when launched via click in 64 bit |
|
|
The following code works differently according to a combination of launch method and bitness;
Code: |
i=winio$('%ww[no_border,no_maxbox]&')
i=winio$('%ca[window caption]&')
i=winio$('%pv&')
C *** At present under 64 bit when launched by double clicking, this crashes.
i=winio$('%53.10cw[hscroll,vscroll]&',2)
i=winio$('%hw',information)
|
Works:
32 bit - launched from cmd
32 bit - launched from double click
64 bit - launched from cmd
Fails with a silent process exit:
64 bit - launched from double click
I'm guessing that ClearWin sets the default I/O units up differently between 32 and 64 bit. Another guess is that by running from a command prompt the default units are initialised somehow, bypassing the double click bug.
Can anyone throw any light on this behaviour?
Regards
Ryan |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Mon Sep 17, 2018 8:31 am Post subject: |
|
|
Thank you for the feedback. I will make a note that this should be investigated. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Fri Sep 28, 2018 9:07 am Post subject: |
|
|
Ryan
Your code works for me but it may be because I am using the latest DLLs.
Issues relating to %cw have been raised elsewhere and have been fixed.
Here is my version...
Code: | winapp
integer i,winio$
integer,external::start
integer(7) information
i=winio$('%ww[no_border,no_maxbox]&')
i=winio$('%ca[window caption]&')
i=winio$('%sc&', start)
i=winio$('%pv&')
i=winio$('%53.10cw[hscroll,vscroll]&',2)
i=winio$('%hw',information)
end
integer function start()
write(2,*) 'Hello'
start = 2
end function
|
The latest beta release may have the relevant fixes. See
http://forums.silverfrost.com/viewtopic.php?t=3797 |
|
Back to top |
|
 |
|
|
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
|