Custom Video Driver WITHOUT DirectShow support

  • Thread starter Thread starter Tamir Khason
  • Start date Start date
T

Tamir Khason

Question: I have some custom video card with custom driver, which does not
support DirectShow. How it possible (if it is) implement program using it
within .NET enviroment?

TNX
 
Tamir,

It if is possible, I would think that it would require a lot of code, as
well as in depth knowledge of the hardware in order to make it work. On top
of that, I wouldn't do it in .NET.

To be honest, if you had a requirement that the video card drivers
support DirectShow, I would just replace the card. I couldn't justify the
time writing my own driver.

Hope this helps.
 
Tamir,

I don't quite understand what you mean by "earn" the drivers dll into
..NET. It might be possible that you can't. Unless it is a dll that exports
functions (in which case you will use the P/Invoke layer) or COM objects
(which you have to use COM Interop for), you won't be able to access it
through C#. You would have to write C++ code to provide a managed wrapper.

Also, for what you are trying to do, I would not recommend using .NET,
as I think you will have to much of a performance hit.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Tamir Khason said:
Thank you for response,
I have the driver dll (not com), SDK (with C++ ton of code) and an example
with hooks and traps in every place.
I can not replace the card (this one is very special at more then 10k$),
but its driver does not support DirectShow (by now). The question is: How
it is possible to "earn" the drivers' dll into .NET (I have .h-es) to use
it with GDI+ for example to renderring..
TNX

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "

Nicholas Paldino said:
Tamir,

It if is possible, I would think that it would require a lot of code,
as well as in depth knowledge of the hardware in order to make it work.
On top of that, I wouldn't do it in .NET.

To be honest, if you had a requirement that the video card drivers
support DirectShow, I would just replace the card. I couldn't justify
the time writing my own driver.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Tamir Khason said:
Question: I have some custom video card with custom driver, which does
not support DirectShow. How it possible (if it is) implement program
using it within .NET enviroment?

TNX
 
Thank you for response,
I have the driver dll (not com), SDK (with C++ ton of code) and an example
with hooks and traps in every place.
I can not replace the card (this one is very special at more then 10k$), but
its driver does not support DirectShow (by now). The question is: How it is
possible to "earn" the drivers' dll into .NET (I have .h-es) to use it with
GDI+ for example to renderring..
TNX

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "

Nicholas Paldino said:
Tamir,

It if is possible, I would think that it would require a lot of code,
as well as in depth knowledge of the hardware in order to make it work.
On top of that, I wouldn't do it in .NET.

To be honest, if you had a requirement that the video card drivers
support DirectShow, I would just replace the card. I couldn't justify the
time writing my own driver.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Tamir Khason said:
Question: I have some custom video card with custom driver, which does
not support DirectShow. How it possible (if it is) implement program
using it within .NET enviroment?

TNX
 
Thank you
;)

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "

Nicholas Paldino said:
Tamir,

I don't quite understand what you mean by "earn" the drivers dll into
.NET. It might be possible that you can't. Unless it is a dll that
exports functions (in which case you will use the P/Invoke layer) or COM
objects (which you have to use COM Interop for), you won't be able to
access it through C#. You would have to write C++ code to provide a
managed wrapper.

Also, for what you are trying to do, I would not recommend using .NET,
as I think you will have to much of a performance hit.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Tamir Khason said:
Thank you for response,
I have the driver dll (not com), SDK (with C++ ton of code) and an
example with hooks and traps in every place.
I can not replace the card (this one is very special at more then 10k$),
but its driver does not support DirectShow (by now). The question is: How
it is possible to "earn" the drivers' dll into .NET (I have .h-es) to use
it with GDI+ for example to renderring..
TNX

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "

Nicholas Paldino said:
Tamir,

It if is possible, I would think that it would require a lot of code,
as well as in depth knowledge of the hardware in order to make it work.
On top of that, I wouldn't do it in .NET.

To be honest, if you had a requirement that the video card drivers
support DirectShow, I would just replace the card. I couldn't justify
the time writing my own driver.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Question: I have some custom video card with custom driver, which does
not support DirectShow. How it possible (if it is) implement program
using it within .NET enviroment?

TNX
 
Back
Top