M
mehmetarikan
hi everyone;
i am writing a program takes a filepath as a argument and calls the
windows media player and plays the movie on the that filepath. first i
tried _execl() but it gives run-time error(Unhandled exception at
0x1022faec in Proje1.exe: 0xC0000005: Access violation reading
location 0xf0410043.). then i used system() function. it works fine if
i use winamp but it fails with media player. it starts media player
but doesn't enqueue the movie. how can i fix it. any suggestion? [ i
prefer _execl() ]
i am writing a program takes a filepath as a argument and calls the
windows media player and plays the movie on the that filepath. first i
tried _execl() but it gives run-time error(Unhandled exception at
0x1022faec in Proje1.exe: 0xC0000005: Access violation reading
location 0xf0410043.). then i used system() function. it works fine if
i use winamp but it fails with media player. it starts media player
but doesn't enqueue the movie. how can i fix it. any suggestion? [ i
prefer _execl() ]