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 

Dos box opening

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



Joined: 29 Aug 2005
Posts: 156
Location: Berlin, Germany

PostPosted: Mon Jan 30, 2017 1:16 pm    Post subject: Dos box opening Reply with quote

For all of my projects I have build as 64 bit executables I get a dos box opening when I launch the executables.

The corresponding 32 bit executables don't have this behaviour.

What might be the reason? Where should I search in my sources?
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Mon Jan 30, 2017 2:50 pm    Post subject: Reply with quote

If it is a Windows application then you either need the directive WINAPP or the FTN95 command line option /windows or the SLINK64 option windows. It depends on the number of files and how you do your build.
Back to top
View user's profile Send private message
dpannhorst



Joined: 29 Aug 2005
Posts: 156
Location: Berlin, Germany

PostPosted: Tue Jan 31, 2017 9:52 am    Post subject: Reply with quote

Now it is working with the linker option windows. But I don't understand why this option is necessary now in 64bit, whilst it was working without such an option in 32bit.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Tue Jan 31, 2017 11:29 am    Post subject: Reply with quote

I don't know exactly why without looking at the code but SLINK64 currently does not have all of the functionality of SLINK. At the moment, the "windows" attribute is passed from FTN95 to SLINK64 only when using /LINK or /LGO.

On the other hand, SLINK is able to pick up this attribute from object code for the main program so it also works when SLINK is called explicitly by the user (or Plato etc.) rather than when it is spawned by 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