Register
Site Login
Site Search
Forums
Advertisement
Welcome to PocketMatrix. PocketMatrix is dedicated to providing the best online community for mobile device developers and enthusiests. What's new?

EdgeLib 3.0 and DirectShow don't get along...


EdgeLib 3.0 and DirectShow don't get along...

Postby Cardinal » Apr 20, 2007 @ 11:07pm

Hey guys! So I'm doing some camera based games in WindowsMobile 5. I use direct show to get access camera frames. There seems to be a problem when using direct show with Edge 3.0. You can no longer get any sort of keypad input. If I disable the camera code it works fine. Previous to this I had used GapiDraw and there was no issues there.

Any ideas?
Cardinal
pm Member
 
Posts: 53
Joined: Feb 6, 2006 @ 5:39am
Location: Ottawa, Ontario


Postby edge » Apr 23, 2007 @ 10:23am

Hi Cardinal,

It seems like the focus of the window is lost after creating the DirectShow instance. Does it also happen when you use DirectShow to play a video file? Also, would you like to try it on a your Windows Desktop device and see if the behaviour is the same?

Maybe you can try to post a small sample of your code (preferably the code that opens a DirectShow instance in the helloworld application)?
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Cardinal » Apr 24, 2007 @ 11:14pm

Well the directShow code accesses the camera and is pretty specific to WM5. I tried the same code on GledPlay which uses DirectDraw and it ran fine.

I'll see if I can get some code together for you to try.
Cardinal
pm Member
 
Posts: 53
Joined: Feb 6, 2006 @ 5:39am
Location: Ottawa, Ontario


Postby edge » Apr 25, 2007 @ 4:34pm

Please let us know and we will do our best to fix this issue.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Cardinal » Apr 26, 2007 @ 11:01pm

Hi just a quick update on this.

I can get EdgeLib and my camera code working together and running fairly well with the keypad input working on my MotorolaQ.

It seems that the black jack is the problem. For instance... take the Animate3D sample.. it takes a good 2 minutes to load and show stuff on screen but it works fine on other devices.
Cardinal
pm Member
 
Posts: 53
Joined: Feb 6, 2006 @ 5:39am
Location: Ottawa, Ontario


Postby edge » Apr 27, 2007 @ 9:51am

Hi Cardinal,

Can you tell me if the Gapidraw and Gledplay samples run OK on the Blackjack?

Also, would you like to recompile your camera application for Windows Mobile 2003 and Windows Mobile 2005 and see if there are differences?
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum