473,473 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# and DirectX

Kav
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
Jan 30 '06 #1
1 2679
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.

"Kav" <Ka*@discussions.microsoft.com> wrote in message
news:8D**********************************@microsof t.com...
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

Jan 30 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: kastillo | last post by:
Im trying to install directx 9.0 c , but i simply cant . When i run the installer it just says " The installed components are ready to use". This is the report on directx.log : 09/10/05...
2
by: Akkadian123 | last post by:
Hi guys, I'm a student of c#, and I was wondering how one would take advantage of multimedia in most c# apps/games. I assume one would use directx9, since there doesn't seem to be any support...
2
by: Michael Mayer | last post by:
First of all, sorry for the cross-post. Seems like there should be a managed directx newsgroup. I'm trying to open the following sample application that comes with the DirectX SDK....
6
by: ammd | last post by:
Hi, I installed Microsoft DirectX 9.0 SDK (Summer 2004) but when I create a project and try to add the necessary references I can't find them. Does anybody know where to look for them? BTW, I have VS...
2
by: Diego_Atos | last post by:
I want to create objects using directX. I downloaded SDK version of DirectX. I've installed it. Which is the right dll to add to references? I can't find it. thanks -- -Diego (Atos)-
4
by: Junaid Hussain | last post by:
Hi, I am thinking about developing a 3D pool game in C# using DirectX, however when I compile a C# at the command prompt using; csc PoolGame.cs , I get the following error message; The type or...
9
by: Mike P | last post by:
Problems, problems... Im trying to create DirectX Projects within C# and to also look at the latest DirectX C# Samples. I have just installed MS Visual C# .net Standard Edition on my Windows...
0
by: Harvey Cohen | last post by:
Hello all, I have some C# code that implements calls to DirectX.DirectSound. It compiles under both VS .NET 2003 and VS 2005 and runs under VS .NET 2003 and VS 2005 on a Compaq laptop (Windows...
14
by: Jessica Weiner | last post by:
I am writing an application in C# which need to plot graphs and simple shapes (polygons, circles, squares etc). Which library is better for this purpose and why? Thanks.
11
by: raylopez99 | last post by:
I just downloaded the apparently free SDK for DirectX 9, all 200+ MB of it, but as I read about WPF I wonder: is DirectX obsolete? Should I even bother learning how to use it? After all, the end...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.