gshort Posted July 22, 2011 Share Posted July 22, 2011 I would like to have my own configuration file for a background program. In my case this would be an ASCII file that the background program would read at start-up that I could affect it's behaviour. Is it possible to add such a file to a Power PMAC project ? I've so far failed to find a way. Link to comment Share on other sites More sharing options...
bradp Posted July 22, 2011 Share Posted July 22, 2011 If when you say "background program" you are refering to a CApp then doing this is no problem. You can add a file to any of the Project directories or even add a directory to the project directly on the /var/ftp of the PPmac. Then when you save this file or directory will be part of the Project. You can then access your file but it will not show in the IDE project. If you want the file to show from the IDE project just pick a location and add a file there. I would put it in Global Includes and then start with /* and end with */ so the contents are not sent to the PPmac kernel. In either case, once you have the file, the CApp you can just open it and use its contents Link to comment Share on other sites More sharing options...
Recommended Posts