How to write a vxd?

Hi

I'm weriting an application that should spy after the serial port and write everything that goes in & out in a separate buffer/file.

I understand that I'll have to write a new vxd that after it gets the data, it should restore the interrupt.

Is there a special compiler for this or my C/C++ compiler is enough?


any comments?

Thanks, Eli
sassonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lif081199Commented:
You can use a standard compiler. What you need is the Windows DDK (Driver Development Kit).

It comes with lots of lib, doc & good samples. You can find the DDK it in the MSDN.

Good luck,
Lionel.
0
jhanceCommented:
You need at least 2 things:

1) Microsoft Visual C++ (I'm not aware of any other compilers on the market today that support VxD development)

2) THe Microsoft DDK.  You can only get this via a MSDN Professional Subscription.

Beyond this, there are some 3rd party tools that can be used to facilitate the process but these are quite expensive.  CompuWare has one called DriverStudio.  There are others as well.

I'd suggest a book by Karen Hazzah called "Writing Windows VxDs and Device Drivers" published by R&D Books.  It will take you through how to get started and unless you have a background in this, you'll be lost wading through the rotten DDK documentation.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
iviCommented:
A little additional only.
Karen Hazzah's book oriented to the non-standard hardware support. If you want write some like COM port stuff then I'd suggest Walter Oney's book.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.