calling anothor program

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() ]
 
V

Victor Bazarov

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() ]

Wrong newsgroup. Try a relevant one from 'microsoft.public.*' family.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top