Question Frame.Clone

Crypt0r

New member
Joined
Oct 31, 2010
Messages
3
Programming Experience
1-3
Hi ppl,

I'm trying to view the image of a IP Camera on a Windows Mobile Device.
It is an HTC HD2 with Windows Mobile 6.5.3
I'm developing with .NET Framework 3.5
The Target Platform is Windows Mobile 6.5.3 of course

The app itself runs perfectly on my dekstop PC. Now I want to convert it to the phone but I'm stuck with this one:
eventArgs As AForge.Video.NewFrameEventArgs
Code:
    Dim img As Bitmap = DirectCast(EventArgs.Frame.Clone(), Bitmap)
It underlines the

EventArgs.Frame.Clone()
Expression

for this line it says:

Reference required to assembly 'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' containing the type 'System.Drawing.Bitmap'. Add one to your project.
I have the Reference to System.Drawing, Version=3.5.0.0
but it seems that it doesn't work with that.
What should I do?
 

Crypt0r

New member
Joined
Oct 31, 2010
Messages
3
Programming Experience
1-3
Anyone?? Is there no solution for this problem?
 

Crypt0r

New member
Joined
Oct 31, 2010
Messages
3
Programming Experience
1-3
I tried this but it did work.

I clicked "Add Reference" there I chose the "Browse" Tab, navigated to:
C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\System.Drawing.dll

But when I click on it, it says
"Reference could not be added"

Or is there any other solution to choose a certain version?

What I actually found out is, that it requires the System.Drawing.Bitmap and this is only supported in V2.0

Or let's ask the other way round:
Is there a method to display a MJPEG stream on a Windows Mobile Device from a Webserver?
 
Last edited:
Top Bottom