PC Review


Reply
Thread Tools Rate Thread

Beginner: Where do I start??

 
 
wild_bunch
Guest
Posts: n/a
 
      29th Mar 2007

Hi...
I am a total newbie in writing drivers and there've been some time
since I've written Win32 code. I was at some job interview and they gave
me a "homework". I have to write a driver for xp that makes windows
media encoder "think" that it's connected to capture device while it's
actully connected to file.

I think I understand where to begin but I have some problems with
frameworking...
I have a lot of questions about building a driver but to start
with...:
Do I have to use VS2005 or i can use vs6?
Must I have ddk?
How do I build a project for driver? does it have to be dll or exe?
Do i work with kernel mode or not? If not then do I have to get myself
a UMDF?
etc.
As you can see I am a total newbie...
Hope that you guys han help me (with theoretical stuff/ code /advices
etc.)
Thanx u guys..
Wb



--
wild_bunch
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

 
Reply With Quote
 
 
 
 
Don Burn
Guest
Posts: n/a
 
      30th Mar 2007
Not having done anything with encoders and capture devices I will leave
this to others. For the questions on the compiler and the DDK. The
current DDK's have a compiler in them, get the WDK which will allow you to
build drivers for Windows 2000 and up, and includes all the tools you need
(except for an editor).

You should consider asking this on
microsoft.public.development.device.drivers since that is the primary
newsgroup for this stuff, with only a few of us watching this one.

--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply


"wild_bunch" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Hi...
> I am a total newbie in writing drivers and there've been some time
> since I've written Win32 code. I was at some job interview and they gave
> me a "homework". I have to write a driver for xp that makes windows
> media encoder "think" that it's connected to capture device while it's
> actully connected to file.
>
> I think I understand where to begin but I have some problems with
> frameworking...
> I have a lot of questions about building a driver but to start
> with...:
> Do I have to use VS2005 or i can use vs6?
> Must I have ddk?
> How do I build a project for driver? does it have to be dll or exe?
> Do i work with kernel mode or not? If not then do I have to get myself
> a UMDF?
> etc.
> As you can see I am a total newbie...
> Hope that you guys han help me (with theoretical stuff/ code /advices
> etc.)
> Thanx u guys..
> Wb
>
>
>
> --
> wild_bunch
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>



 
Reply With Quote
 
Shawn
Guest
Posts: n/a
 
      30th Mar 2007
On Mar 29, 9:38 am, wild_bunch <wild_bunch.
2o8...@mail.codecomments.com> wrote:
> Hi...
> I am a total newbie in writing drivers and there've been some time
> since I've written Win32 code. I was at some job interview and they gave
> me a "homework". I have to write a driver for xp that makes windows
> media encoder "think" that it's connected to capture device while it's
> actully connected to file.
>
> I think I understand where to begin but I have some problems with
> frameworking...
> I have a lot of questions about building a driver but to start
> with...:
> Do I have to use VS2005 or i can use vs6?
> Must I have ddk?
> How do I build a project for driver? does it have to be dll or exe?
> Do i work with kernel mode or not? If not then do I have to get myself
> a UMDF?
> etc.
> As you can see I am a total newbie...
> Hope that you guys han help me (with theoretical stuff/ code /advices
> etc.)
> Thanx u guys..
> Wb
>
> --
> wild_bunch
> ------------------------------------------------------------------------
> Posted viahttp://www.codecomments.com
> ------------------------------------------------------------------------


First, the solution doesn't have to be implimented as a driver, you
could impliment it as a DirectShow capture filter which is 100% user
mode stuff. If a driver implimentation is a hard requirement, then
download the latest DDK (they call it a WDK now, actually) and look at
the avstream capture samples. Start with that code. From there it's
a relatively simple task of reading data from a file using kernal mode
file I/O calls.

If you build a driver, you'll use the tools in the WDK. If you build
a DS capture filter, you'll use whatever version of VS you have.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
easiest way for beginner to start database? mp Microsoft C# .NET 23 2nd Mar 2010 11:23 AM
RDP for Beginner how to start saprilla Windows XP Work Remotely 2 2nd Jul 2009 06:07 PM
very beginner, pls help to start sathyashrayan Microsoft ASP .NET 3 10th Feb 2005 04:06 PM
Beginner -- How to start? jcnews Microsoft Windows 2000 CMD Promt 1 11th Nov 2004 04:26 PM
Help with RC file from beginner- don't know where to start VM Microsoft VC .NET 1 10th Feb 2004 11:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:04 AM.