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 

Difference between win32 and x64 when missing a callback

 
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: 697
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Fri Apr 16, 2021 1:18 pm    Post subject: Difference between win32 and x64 when missing a callback Reply with quote

Win32 correctly generates a run time error with the following code, x64 does not.

Code:
use clrwin
i = winio@('%^bt[Click]')
end
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Fri Apr 16, 2021 3:26 pm    Post subject: Reply with quote

Ken

Thanks. I have made a note of this.
Back to top
View user's profile Send private message AIM Address
John-Silver



Joined: 30 Jul 2013
Posts: 1520
Location: Aerospace Valley

PostPosted: Fri Apr 16, 2021 10:58 pm    Post subject: Reply with quote

hi Ken,
what's the error message for win32?
for x64 does the programme run or does it crash ?
_________________
''Computers (HAL and MARVIN excepted) are incredibly rigid. They question nothing. Especially input data.Human beings are incredibly trusting of computers and don't check input data. Together cocking up even the simplest calculation ... Smile "
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Sat Apr 17, 2021 9:13 am    Post subject: Reply with quote

Ken

This failure has now been fixed for the next release of ClearWin+.
Back to top
View user's profile Send private message AIM Address
Kenneth_Smith



Joined: 18 May 2012
Posts: 697
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Mon Apr 19, 2021 9:19 am    Post subject: Reply with quote

Paul,

Thanks.


John,

x64 does not detect the error and both the sample above and the more complex program this was embedded in ran within any apparent issues, however the button was only being used to close a window. It was only when recompiling the code in Win32 that my error became apparent. Win32 correctly reports too few arguments to satisfy the winio@ format.
Back to top
View user's profile Send private message Visit poster's website
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