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 app does not display undef runtime error

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
DietmarSiepmann



Joined: 03 Jun 2013
Posts: 148

PostPosted: Fri Jul 06, 2018 1:14 pm    Post subject: 64-bit app does not display undef runtime error Reply with quote

Following code (named myundef.for) contains an undefined INTEGER(7) variable and has been compiled/linked as a 32 and 64 bit binary using the /undef option. Executing the 32 bit binary results in a runtime error (as expected), however, executing the 64 bit binary does not!

Code:

      subroutine mysr(myhandle)
      INTEGER(7) myhandle
      INCLUDE <WINDOWS.INS>
      A=SETFOCUS(myhandle)
      end

      INTEGER(7) myhandle0
      call mysr(myhandle0)
      end


Code generation calls:

Code:

ftn95 myundef.for /undef /link
ftn95 myundef.for /undef /link /64


ftn95 version info: [FTN95/x64 Ver. 8.30.0 Copyright (c) Silverfrost Ltd 1993-2018]

Regards,
Dietmar
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Fri Jul 06, 2018 3:19 pm    Post subject: Reply with quote

Thanks Dietmar. This omission has been rectified for the next release of FTN95.
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 -> 64-bit 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