|
-
March 29th, 1999, 02:37 AM
#1
How to invoke avi player
I want to play an avi file within my program. Please can anybody suggest a method to invoke the avi player?
When the user presses the button "Play Avi", I want to launch the avi player on a separate address space.
Is it possible to get the name of the server, so that I can create another process, and lauch the avi there?
thanks in advance,
Prasanna Hebbar
-
March 30th, 1999, 01:37 AM
#2
Re: How to invoke avi player
Use system() function with parameter "mpaly32 pathof avi" in handler to play avi
in a different address sapce.
-
March 30th, 1999, 03:18 AM
#3
Re: How to invoke avi player
The System with the parameter "mplay AviFileName" did not work.
But there is one alternative for this.
Use WinExec command and pass the lpszCmdLine as
RUNDLL32.EXE amovie.ocx,RunDll AVIFILENAME
Pass NULL for lpszAppName. This will invoke the active movie control with the avi.
-
March 31st, 1999, 12:38 AM
#4
Re: How to invoke avi player
use "mplay32 avifilename" ,not "mplay avifilename" as a parameter for the system()
call.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|