PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Using "DirectShow" with C# in the Compact Framework along with WM6

Reply

Using "DirectShow" with C# in the Compact Framework along with WM6

 
Thread Tools Rate Thread
Old 09-11-2007, 07:26 PM   #1
=?Utf-8?B?Tm9ibGUgQmVsbA==?=
Guest
 
Posts: n/a
Default Using "DirectShow" with C# in the Compact Framework along with WM6


Hello all,
I am trying to develop an application using C# and .NetCF on Windows Mobile
6. I need to use the "DirectShow" api in order to preview video and take a
still shot with the built-in camera. I have tried using the built-in camera
dialog that comes with WM6 but it is limited and does not do some of the
things that I need.

Can anyone point me in the right direction or offer me some sample C# .NetCF
code that will help out?

Thanks in advance,

--
Noble D. Bell
www.noblesoftware.com

  Reply With Quote
Old 12-11-2007, 11:06 PM   #2
Chris Forsberg [MVP]
Guest
 
Posts: n/a
Default Re: Using "DirectShow" with C# in the Compact Framework along with WM6

There's no CF API for DirectShow AFAIK even if there are interesting things
to learn from out there (http://directshownet.sourceforge.net/). For an
intro using native code, start 2/3 down in
http://msdn2.microsoft.com/en-us/ar...e/aa454909.aspx...

"Noble Bell" <NobleBell@discussions.microsoft.com> wrote in message
news:4B12D0DD-6266-484D-87F9-007510DD0B8D@microsoft.com...
> Hello all,
> I am trying to develop an application using C# and .NetCF on Windows
> Mobile
> 6. I need to use the "DirectShow" api in order to preview video and take a
> still shot with the built-in camera. I have tried using the built-in
> camera
> dialog that comes with WM6 but it is limited and does not do some of the
> things that I need.
>
> Can anyone point me in the right direction or offer me some sample C#
> .NetCF
> code that will help out?
>
> Thanks in advance,
>
> --
> Noble D. Bell
> www.noblesoftware.com
>


  Reply With Quote
Old 13-11-2007, 08:25 PM   #3
=?Utf-8?B?Tm9ibGUgQmVsbA==?=
Guest
 
Posts: n/a
Default RE: Using "DirectShow" with C# in the Compact Framework along with WM6

Thanks for the reply.

What I would REALLY like to do is use the built-in camera dialog control if
it is at all possible. I want to be able to get a full-screen preview window
that will allow me to take a picture and then return control to my app. I
don't want the camera dialog control to display ANY of its menu bars. Is
there a way to do this?

nb
  Reply With Quote
Old 13-11-2007, 09:23 PM   #4
Chris Forsberg [MVP]
Guest
 
Posts: n/a
Default Re: Using "DirectShow" with C# in the Compact Framework along with WM6

I'm afraid your only option is native code, and if you check out the WM5/6
SDK sample "CameraCapture" (...Samples\PocketPC\CPP\WIN32\CameraCapture) you
get the picture ;-)

"Noble Bell" <NobleBell@discussions.microsoft.com> wrote in message
news:77BA1CAD-BB0B-4458-BB23-B8C2975CDEC9@microsoft.com...
> Thanks for the reply.
>
> What I would REALLY like to do is use the built-in camera dialog control
> if
> it is at all possible. I want to be able to get a full-screen preview
> window
> that will allow me to take a picture and then return control to my app. I
> don't want the camera dialog control to display ANY of its menu bars. Is
> there a way to do this?
>
> nb


  Reply With Quote
Old 13-11-2007, 09:48 PM   #5
=?Utf-8?B?Tm9ibGUgQmVsbA==?=
Guest
 
Posts: n/a
Default Re: Using "DirectShow" with C# in the Compact Framework along with

Yep!

I looked at that example and I cannot seem to get it to take a picture.
Sometimes it will and sometimes it won't. Also there is no preview.

I can open this project in VS2005, right?

nb

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off