Hi,All.
I’m now developing a software to communicate with several chip
microprocessor on serial port under win2000 platform. it works as follow:
Set Markparity, Send Number of a chip microprocessor, Set Spaceparity, then
send command to receive data from the chip microprocessor.
I found a stragne thing, that, when I debug the software, while Windows
Media Player is running, it works very good, if i close the Windows Media
Player, it hardly to receive a byte from the chip microprocessor.
Who can help me to explain it and resolve the problem. thanks.
I suspect you are using a timer with a small resolution. Windows Media
Player uses the multimedia timer API’s which push up the resolution of
timers for the whole system. Take a look at the function timeBeginPeriod
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
“How You” wrote in message news:xxxxx@ntdev…
> Hi,All.
>
> I’m now developing a software to communicate with several chip
> microprocessor on serial port under win2000 platform. it works as follow:
>
> Set Markparity, Send Number of a chip microprocessor, Set Spaceparity,
> then
> send command to receive data from the chip microprocessor.
>
> I found a stragne thing, that, when I debug the software, while Windows
> Media Player is running, it works very good, if i close the Windows Media
> Player, it hardly to receive a byte from the chip microprocessor.
>
> Who can help me to explain it and resolve the problem. thanks.
>
>
>
Hi,Don Burn, thanks very much.
My sofeware seems working very well now. :))
Thanks again.
“Don Burn” дÈëÓʼþ news:xxxxx@ntdev…
> I suspect you are using a timer with a small resolution. Windows Media
> Player uses the multimedia timer API’s which push up the resolution of
> timers for the whole system. Take a look at the function timeBeginPeriod
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
>
> “How You” wrote in message news:xxxxx@ntdev…
> > Hi,All.
> >
> > I’m now developing a software to communicate with several chip
> > microprocessor on serial port under win2000 platform. it works as
follow:
> >
> > Set Markparity, Send Number of a chip microprocessor, Set Spaceparity,
> > then
> > send command to receive data from the chip microprocessor.
> >
> > I found a stragne thing, that, when I debug the software, while Windows
> > Media Player is running, it works very good, if i close the Windows
Media
> > Player, it hardly to receive a byte from the chip microprocessor.
> >
> > Who can help me to explain it and resolve the problem. thanks.
> >
> >
> >
>
>
>