Re: Port Monitor under Windows XP
- From: "Vipin" <vipin@xxxxxxxxxx>
- Date: Wed, 18 May 2005 13:20:43 +0530
Hey Herbert,
I am trying to recollect from my memory and quick ddk
docs without opening my sources. In windows 2000/XP model, the AddPort and
AddPorttEx pointers in MONITOR2 should be NULL and are obselete so they
won't be called. The AddPortUI in the UI dll will get called which should do
a XcvData(...) to modify the printmon server dll's internal port list.
You should implement the XcvDataPort in the print mon server dll. as the
communication will happen via XcvData(...) spooler call into the printmon
server dll.
Hope this helps
Vipin
"Herbert" <Herbert@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6FFCC7E9-A9D6-44C2-87FC-CDAD22A614EE@xxxxxxxxxxxxxxxx
> Hello,
>
> thanks for your answer. Some additional information:
> Mircosoft has changed the architecture of Port Monitors under Windows
> 2000.
> If I use a Windows NT 4.0 Port Monitor everything works fine. Only the
> port
> monitor with the new architecture (since Windows 2000) shows such a
> strange
> behaviour under Windows XP. I debugged my code and it looks like the
> Windows
> spooler does not call Addport in the port monitor server dll. I do not
> know
> why?
>
> Thanks
> Herbert
>
> "Vipin" wrote:
>
>> I guess I never had this strange behaviour. I have created port monitors
>> for
>> windows 2000/XP/2003 and windows 98 without any problems. But I am not
>> sure
>> if I ever saw the behaviour you are seeing. I used to always stop/start
>> the
>> spooler during the port monitor installation via my scripts, so not sure
>> over the first time success and the later failures. I will have to go
>> back
>> and check my archives for the monitors, install and see if I see this.
>>
>> Thanks
>> Vipin
>>
>> "Herbert" <Herbert@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:9C72D45B-CC4E-42CD-B2AC-DA0C4972D241@xxxxxxxxxxxxxxxx
>> > Hello,
>> >
>> > I have implemented a Port Monitor (part of the Spooler) under Windows
>> > 2000.
>> > Under Windows 2000 the port monitor works fine. But when I install the
>> > port
>> > monitor under Windows XP I have a strange behaviour:
>> > I can create only one port for my port monitor. Trying to create
>> > another
>> > port it fails. If I want to install more ports for my port monitor I
>> > have
>> > to
>> > stop the spooler und have to start the spooler again. After that I can
>> > create
>> > one port more for my port monitor.
>> >
>> > Has already somebody seen this strange behaviour?
>> > Is this a Windows XP spooler error because under Windows 2000
>> > everything
>> > works fine?
>> >
>> > Thanks in advance for your answers
>> > Herbert
>>
>>
>>
.
- Follow-Ups:
- Re: Port Monitor under Windows XP
- From: Herbert
- Re: Port Monitor under Windows XP
- References:
- Port Monitor under Windows XP
- From: Herbert
- Re: Port Monitor under Windows XP
- From: Vipin
- Re: Port Monitor under Windows XP
- From: Herbert
- Port Monitor under Windows XP
- Prev by Date: Re: Port Monitor under Windows XP
- Next by Date: Re: Does HID driver support absolute positioning mouse?
- Previous by thread: Re: Port Monitor under Windows XP
- Next by thread: Re: Port Monitor under Windows XP
- Index(es):
Relevant Pages
|