By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,194 Members | 817 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,194 IT Pros & Developers. It's quick & easy.

calling anothor program

P: n/a
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() ]

Mar 15 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
me**********@gmail.com wrote:
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
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Mar 15 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.