English 中文(简体)
C# 加工性质
原标题:C# Process properties

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

问题回答

http://wiki.videolan.org/.Net_Interface_to_VLC” rel=“nofollow” 这应当非常容易使用。

http://dmediaplayer.codeplex.com/“rel=“nofollow” 管理部 - 简便的VLC前线





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签