PC Review


Reply
Thread Tools Rate Thread

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

 
 
=?Utf-8?B?Tm9ibGUgQmVsbA==?=
Guest
Posts: n/a
 
      9th Nov 2007
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
 
 
 
 
Chris Forsberg [MVP]
Guest
Posts: n/a
 
      13th Nov 2007
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/arc.../aa454909.aspx...

"Noble Bell" <(E-Mail Removed)> wrote in message
news:4B12D0DD-6266-484D-87F9-(E-Mail Removed)...
> 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
 
=?Utf-8?B?Tm9ibGUgQmVsbA==?=
Guest
Posts: n/a
 
      13th Nov 2007
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
 
Chris Forsberg [MVP]
Guest
Posts: n/a
 
      13th Nov 2007
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" <(E-Mail Removed)> wrote in message
news:77BA1CAD-BB0B-4458-BB23-(E-Mail Removed)...
> 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
 
=?Utf-8?B?Tm9ibGUgQmVsbA==?=
Guest
Posts: n/a
 
      13th Nov 2007
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pinvoke of DirectShow in compact framework Abhi Microsoft Dot NET Compact Framework 0 18th Jun 2008 12:04 AM
.NET Compact Framework (SP2) and showing the "Text" property in myUserControl jman Microsoft Dot NET Compact Framework 0 9th Apr 2008 02:22 AM
NewLine ("\r\n") not working in String or StringBuilder in Compact Framework 2.0 SP2 Leonard Lee Microsoft Dot NET Compact Framework 2 19th Oct 2007 10:28 PM
Does DotNet Compact Framework support "Smart Client" Jason Zhang Microsoft Dot NET Framework 1 26th Nov 2005 01:04 AM
About the book "SQL Server CE Database Development with the .NET Compact Framework" fairycat Microsoft Dot NET Compact Framework 1 20th Jul 2005 04:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:14 AM.