I m利用双赢平台和团结3D游戏引擎,创建3D的 app。 运行时,3项申请完全采用筛选方式。 I m使用以下代码,将VLC的参与者从中引出:
string _path = "C:\Users\Saska\Desktop\Videi\intro.mpg --fullscreen";
foo = new Process();
foo.StartInfo.FileName = "C:\Program Files\VideoLAN\VLC\vlc.exe";
foo.StartInfo.Arguments = _path;
foo.StartInfo.CreateNoWindow = true;
foo.StartInfo.WindowStyle = ProcessWindowStyle.Minimized;
foo.Start();
It happens that, when I run VLC, I see VLC window in the beggining (for 2 seconds, until it buffers a movie), then it gets minimized and I see the movie running in full screen mode. When it finishes, I have to close VLC manually, but it happens that my 3D application gets minimized and I have to click on it "to make it normal - fullscreen" again. Is it possible: - to avoid appearance of VLC window in the begging, just to see full screen movie play (I assume no, since VLC player reads the movie) - to make my 3d app window running beneath VLC player in full screen mode so it happens that when VLC finishes I can see 3d app again in full screen mode - to make VLC shuts down when the movie is finished I m new to process programming and don t know which terms to "google". I found process NET library, but I see no useful parameters.
Thank you very much. Aleksandra