C# and DirectX

G

Guest

Hello,
I apologize in advance for my “Greenness†ïŠ.

I posted a question a couple weeks ago asking how I could render a DIB frame
a custom decoder from unmanaged code to a c# window using DirectX – i.e. I
would like to get an overlay surface from c# and write my frame to the
surface then render it.

From what I’ve now found out, this isn’t an easy task. It sounded simple
enough but after looking at DirectX 9, only later to realize that most direct
show stuff was deprecatedïŒ, and DirectX 10 I’m beginning to get worried.

Anyway, if anyone knows the simplest approach please, do tell. What
book/manual to rtfm, do I have to use filters, can I just blit my frames from
unmanaged code, is it worth buying a DirectX book which all seem to lean
towards game development. Should I use DirectX 10?

My app is a c# managed code. I have an unmanaged dll that is receiving
mpeg4 video frames over the net. I’ve got a custom decoder that can produce
raw video frames. Currently I was just using DDraw routines with a pop up
mfc window. I want to remove this last part and place the rendering in my c#
app with the dll providing me with video frames.

Thanks in advance for your help,

--

Chris Kavanagh

Software Developer
LibreStream Technologies Inc.
www.LibreStream.com
Unit 200 - 55 Rothwell Rd.
Winnipeg, Manitoba
Canada R3P 2M5
 
K

Kevin Spencer

Hi Chris,

I understand your frustration. I've worked on an application in Managed
DirectX that spanned a half-dozen iterations of the library. Your best bet
is to get the latest version, and build to that. Remember that deprecated
elements never become obsolete for the version your develop against, but
only when upgrading to a new version.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Who is Mighty Abbott?
A twin turret scalawag.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top