WinExec does not start application

I am using BC452 and wrote some code that should start GNUPlot with a plot file. I give the full path for the program and the full path for the plot file. When I start to run this the first time GNUPlot does not start. After I execute a FileOpenSelectBox to choose a plot file it works fine. It seems like it needs some directory information that is not initialy there. How can I get this to work?

Obviously I tried this one already, but I get the same problem using ShellExecute(). The path names are definitely correct, since it works once the OpenSelectBox was called once. Otehr tahn this it would be nice if I could see a working ShellExecute() sample. The one in the online help is not quite understandable.

Introduction
Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).
The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …

Originally, this post was published on Monitis Blog, you can check it
here
.
In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…