Check whether app is running

Is there any way through C/SIDE to check whether an application is running? I run a routine that requires another application to be running, and it is not an application that supports any automation.

Easy way : Get your outside application to write a log file : NameOfYourApplication;Date;Time Then get Navision to read the log file to check the Date & Time