autorun

Started by Shawn Anderson, April 01, 2010, 03:22:06 PM

Previous topic - Next topic

Shawn Anderson

I want to be able to start my program using a command line switch that automatically runs a task, ideally without displaying a gui.

In other words:
program.exe starts the program in normal GUI mode (mostly used for setting up defaults)

program.exe /autorun starts the program, runs it, and quits (used for scheduling tasks)

how?
thanks

Paul Squires

I would deal with COMMAND$ in the FF_WinMain handler...do your task and then return %TRUE from FF_WinMain (this will prevent the main "startup form" from ever displaying).
Paul Squires
PlanetSquires Software

Shawn Anderson