General Question Launching Orbiter after compilation

Goth

Occasional orbinaut
Donator
Joined
Aug 1, 2008
Messages
424
Reaction score
2
Points
0
How do you tell your Visual Studio 2010 Express project to launch Orbiter.exe (if possible, even better, also telling it to launch a specific scenario directly) after compilation? Because now it tries to launch my DLL.
Thanks.
 
In your project properties, go under Debugging and set Command to
C:\Where\ever\is\your\Orbiter\orbiter.exe

and working directory to
C:\Where\ever\is\your\Orbiter

As far as launching a specific scenario, I'm not sure if it's possible, but if it is, you'll probably need to add it to the Command field.
 
If you use Orbiter property sheets (:P), then the command is simply for every project and every Orbiter installation:
Code:
$(OrbiterDir)\orbiter.exe
and the working directory:
Code:
$(OrbiterDir)

To launch a specified scenario at start, put in Command Arguments:
Code:
-s "Your scenario name"
 
Back
Top