How do I compile and link the resources file into my project?
Resources with 64 bit FTN95 and Visual Studio 2015
Ian
SRC with /R and /BINARY does not work with the current release. This has now been fixed. The other possibility is that the Visual Studio plug-in for FTN95 is not calling SRC with these options.
Take a look at the build log to see if SRC is being called and let me know what you find.
At a more elementary level, if you add your resource script to your project files then SRC ought to be called at compile time. This is what happens with Plato.
Paul, Sorry for the delay: I added my resource script to the list of source files. It seems to be ignored and SRC is not invoked. This has to be done manually. The build log has no sign of 'SRC' The link '.inf' file does not have the resource loaded. The 'windows' option is not present in the link file. Just tried it in the latest distribution and there is no change. I'm using Visual Studio 2015. Regards Ian
Ian
I can't test this out for you (I don't have VS 2015 installed on my machine) but you could try adding a RESOURCES directive to the end of your main program. This would come at the end of a file and would be followed by the text of the script.
FTN95 will spawn SRC and produce a .res file. You might then be able to add this file to your project as a 'reference' for the linker.
Failing that, you could try Plato. Plato might even accept the same project file.