Silverfrost Forums

Welcome to our forums

Dos box opening

30 Jan 2017 12:16 #18810

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?

30 Jan 2017 1:50 #18812

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.

31 Jan 2017 8:52 #18816

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.

31 Jan 2017 10:29 #18817

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.

Please login to reply.