Hi,
I'm currently working on a file encryption application and encountered a strange problem: execute file doesn't work with files to be executed by VLC. It works flawlessly with text-files, mp3s (winamp), open office documents etc., but as soon as I use VLC player as default software for a file type (tried with .flv and .mp3), the file simply isn't executed. There's no error message or anything, and despite a waitflag of 1 my program continues immediately.
I doubt that code does help in this case, but anyway:
message "Starting"
f$ = "video.flv"
message "File exist: " + str$( file exist(f$) )
execute file f$, "", "", 1
message "..."
execute file "textfile.txt", "", "", 1
message "Ready"
What happens is that I see the 'Starting' message, then the programm tells me that the videofile exists, it continues with the '...' message without even the slightest break (seems like "it's not even trying"), then the textfile is executed and as soon as I close it the program says 'Ready' and terminates.
Since I'm able to execute the exact same file using winamp, but not via VLC, it really seems to depend on the execution software and not on the file itself. Starting a VLC file from within the windows explorer is possible by the way.
Does anybody have an idea what might cause this strange problem?
Thanks in advance.