1. In the Hardisk/bin folder is a file called boot.bat. You can edit this file to execute your program. The problem with this is that many windows resources such as the Ethernet port may not be available at that time of boot up. You have some options to deal with this problem.
A. Add code to the boot.bat file to copy another .bat file into /Windows/Startup.
B. Use windows api's to determine if a resource is available in your program, and delay until the resource becomes available.
C. Add a period of sleep at the beginning of your program. I would not reccomend this for a long term solution.
The command lockce can be used to make boot.bat editable (i.e. lockce 0 boot.bat).
2. In future units, we may change Windows/Startup into Hardisk/Startup for persistence, so be sure to check the location of your Startup folder on your Treq. If you have a folder Hardisk/Startup, do not use boot.bat, and copy your executable there.
3. You can edit a registry setting to launch your program at startup. This is described in section 4.4 of the Treq Manual:
http://www.qsicorp.com/engfiles/bleedin ... 5May06.pdf
QSI can configure your production units to include your registry setting and executable.
This information is subject to change.