Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / [execute file] doesn't work with VLC files

Author
Message
Mr Kohlenstoff
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Germany
Posted: 2nd Apr 2011 15:43
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:



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.

baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 2nd Apr 2011 16:48
Sounds like a problem with "vlc" to me. If the same files execute when associated with another program it makes sense that's the problem.

Mr Kohlenstoff
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Germany
Posted: 2nd Apr 2011 17:08
Yeah, probably, but isn't that strange, too? I mean, when I open a video file for example with windows, isn't it basically the same? Or is there a difference between doubleclicking a file, and calling it with 'execute file' from DBP?

Login to post a reply

Server time is: 2026-07-11 17:06:02
Your offset time is: 2026-07-11 17:06:02