Dear All,
I am very new to windows OS internal,however I have read many stuff from here and there about windows NT/98 architecture along with driver development model,WDM and WDF.
Actually I am going to develop USB device driver in which I have to add one more driver for Virtual com port to fulfill our end application requirement.
So to get the windows system software development environment awareness I have started with readily available sample from WINDDK(for windows2003 server SP1 edition) where I have found one virtual device driver sample,VDD.I have built it and generated it’s DLL file.Also same time I have read it’s “readMe” doc to install it my local/native PC(windows2000 professional).
As per this ReadMe file,
To install this VDD, use regedit to modify HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers\VDD to include ddkroot\lib*\com_vdd.dll from your DDK tree. Shut down and restart Windows 2003 to let this change take effect.
And I have followed it but I could not get exactly where and how I shoud do this.
Actually here I expects like if this goes well,system will generate one more serial port in system property.
So please help by explaning exact way.
Thanking you all,
regds,
PVC
First are you sure you want a driver that is only good for the vietual DOS
machine, and will not work with most programs in Windows? Your questions
seem to indicate you think you are getting a device that will appear in the
device manager, etc. This is not the case this is only for backwards
compatibility with old code.
For what you want you need to develop a WDM driver for a virtual serial
port, or buy one of the many comercial implementations of this. I would
recomend the latter since the former is a fair amount of work, and you have
a lot to learn.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply
wrote in message news:xxxxx@ntdev…
> Dear All,
>
> I am very new to windows OS internal,however I have read many stuff from
> here and there about windows NT/98 architecture along with driver
> development model,WDM and WDF.
>
> Actually I am going to develop USB device driver in which I have to add
> one more driver for Virtual com port to fulfill our end application
> requirement.
>
> So to get the windows system software development environment awareness I
> have started with readily available sample from WINDDK(for windows2003
> server SP1 edition) where I have found one virtual device driver
> sample,VDD.I have built it and generated it’s DLL file.Also same time I
> have read it’s “readMe” doc to install it my local/native PC(windows2000
> professional).
>
> As per this ReadMe file,
>
> To install this VDD, use regedit to modify
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers\VDD
> to include ddkroot\lib*\com_vdd.dll from your DDK tree. Shut down and
> restart Windows 2003 to let this change take effect.
>
> And I have followed it but I could not get exactly where and how I shoud
> do this.
>
> Actually here I expects like if this goes well,system will generate one
> more serial port in system property.
>
> So please help by explaning exact way.
>
> Thanking you all,
>
> regds,
>
> PVC
>
Hi:
You are a bit confused I think. Let me try to clear this up.
(1) A VDD which is a Virtual Device Driver is for supporting hardware in a
v86 mode process, which is a Command Prompt. The sample you are refering to
for the Serial Driver’s VDD will allow you to run Dos Serial Applications
from within the Windows Command Prompt. This DLL for the VDD runs in the
same process as you Dos Session and traps on port access of a UART and
virtuals this hardware for the Dos Session. Interesting stuff here of
course. The VDD is for emulating hardware in a DOS, v86 mode of the x86
processors. Note x64 does NOT support this and of course ia64 does not
either.
(2) Now in the Driver world of Windows you have kernel mode drivers. Here
is where you would write you Serial Interface to USB datalink. Now in the
Kernel driver world you can work with WMD or KDF / UMDF. I wish you the best
here.
-William Michael Jones “Mike”
wrote in message news:xxxxx@ntdev…
> Dear All,
>
> I am very new to windows OS internal,however I have read many stuff from
> here and there about windows NT/98 architecture along with driver
> development model,WDM and WDF.
>
> Actually I am going to develop USB device driver in which I have to add
> one more driver for Virtual com port to fulfill our end application
> requirement.
>
> So to get the windows system software development environment awareness I
> have started with readily available sample from WINDDK(for windows2003
> server SP1 edition) where I have found one virtual device driver
> sample,VDD.I have built it and generated it’s DLL file.Also same time I
> have read it’s “readMe” doc to install it my local/native PC(windows2000
> professional).
>
> As per this ReadMe file,
>
> To install this VDD, use regedit to modify
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers\VDD
> to include ddkroot\lib*\com_vdd.dll from your DDK tree. Shut down and
> restart Windows 2003 to let this change take effect.
>
> And I have followed it but I could not get exactly where and how I shoud
> do this.
>
> Actually here I expects like if this goes well,system will generate one
> more serial port in system property.
>
> So please help by explaning exact way.
>
> Thanking you all,
>
> regds,
>
> PVC
>