PC Review


Reply
Thread Tools Rate Thread

COM Ports in Windows 2000

 
 
Roundy
Guest
Posts: n/a
 
      27th Sep 2004
My R&D department does a lot of work with com ports.
Communicating to devices via com ports, programming
devices. In windows 98 the com ports worked just fine
without fail. Since we have Windows 2000 and or Windows
XP installed they loose commnications a lot of the time.
They also get the com ports so hung up that the only way
to "fix" the problem is to either reboot the system, or go
into device manager and disable and re-enable the device.

Is this related to how the new operating system's handle
com ports, how they are configured, or is it that the
software is not compatible with this version of windows.
This is happening on multiple machines. Help
 
Reply With Quote
 
 
 
 
Dan Seur
Guest
Posts: n/a
 
      27th Sep 2004
Your problems may lie in the fact that in DOS-based systems
your app can get "hands on" the real hardware, while in
NT-class systems they cannot, and must instead use defined
APIs to go through the "virtual" hardware interface. Some
instructions are illegal in the latter systems, and sometimes
app code has to be changed.

(Just a thought. Maybe that's not the problem.)

Roundy wrote:

> My R&D department does a lot of work with com ports.
> Communicating to devices via com ports, programming
> devices. In windows 98 the com ports worked just fine
> without fail. Since we have Windows 2000 and or Windows
> XP installed they loose commnications a lot of the time.
> They also get the com ports so hung up that the only way
> to "fix" the problem is to either reboot the system, or go
> into device manager and disable and re-enable the device.
>
> Is this related to how the new operating system's handle
> com ports, how they are configured, or is it that the
> software is not compatible with this version of windows.
> This is happening on multiple machines. Help


 
Reply With Quote
 
Rick
Guest
Posts: n/a
 
      27th Sep 2004
"Roundy" <(E-Mail Removed)> wrote in message news:01e601c4a4d0$d3d2b1d0$(E-Mail Removed)...
> My R&D department does a lot of work with com ports.
> Communicating to devices via com ports, programming
> devices. In windows 98 the com ports worked just fine
> without fail. Since we have Windows 2000 and or Windows
> XP installed they loose commnications a lot of the time.
> They also get the com ports so hung up that the only way
> to "fix" the problem is to either reboot the system, or go
> into device manager and disable and re-enable the device.
>
> Is this related to how the new operating system's handle
> com ports, how they are configured, or is it that the
> software is not compatible with this version of windows.
> This is happening on multiple machines. Help


It all depends on the design of the com ports, and the
devices used on them. Devices used under Win2K
must allow for its Hardware Abstraction Layer, and
must not demand direct access to com ports. Such
access was allowed under Win98. So there may be
device driver issues as well as hardware issues.

Rick





 
Reply With Quote
 
Roundy
Guest
Posts: n/a
 
      28th Sep 2004
Is there a way to resolve this? Maybe have the app run in
compatibility mode, or will that not solve anything?
Thanks for the help.
>-----Original Message-----
>Your problems may lie in the fact that in DOS-based

systems
>your app can get "hands on" the real hardware, while in
>NT-class systems they cannot, and must instead use defined
>APIs to go through the "virtual" hardware interface. Some
>instructions are illegal in the latter systems, and

sometimes
>app code has to be changed.
>
>(Just a thought. Maybe that's not the problem.)
>
>Roundy wrote:
>
>> My R&D department does a lot of work with com ports.
>> Communicating to devices via com ports, programming
>> devices. In windows 98 the com ports worked just fine
>> without fail. Since we have Windows 2000 and or

Windows
>> XP installed they loose commnications a lot of the

time.
>> They also get the com ports so hung up that the only

way
>> to "fix" the problem is to either reboot the system, or

go
>> into device manager and disable and re-enable the

device.
>>
>> Is this related to how the new operating system's

handle
>> com ports, how they are configured, or is it that the
>> software is not compatible with this version of

windows.
>> This is happening on multiple machines. Help

>
>.
>

 
Reply With Quote
 
Dan Seur
Guest
Posts: n/a
 
      28th Sep 2004
I'm not sure what compatibility mode might accomplish; never use it.

As far as I know, if the problem is as speculated (you're up against
the "illegal instruction" wall), the only solution is a code rewrite.
Common problem; some houses elect to update their software, others
just settle for product obsolescence. It's a business case decision,
dev cost vs revenue, for this product vs other products.

Roundy wrote:
> Is there a way to resolve this? Maybe have the app run in
> compatibility mode, or will that not solve anything?
> Thanks for the help.
>
>>-----Original Message-----
>>Your problems may lie in the fact that in DOS-based

>
> systems
>
>>your app can get "hands on" the real hardware, while in
>>NT-class systems they cannot, and must instead use defined
>>APIs to go through the "virtual" hardware interface. Some
>>instructions are illegal in the latter systems, and

>
> sometimes
>
>>app code has to be changed.
>>
>>(Just a thought. Maybe that's not the problem.)
>>
>>Roundy wrote:
>>
>>
>>>My R&D department does a lot of work with com ports.
>>>Communicating to devices via com ports, programming
>>>devices. In windows 98 the com ports worked just fine
>>>without fail. Since we have Windows 2000 and or

>
> Windows
>
>>>XP installed they loose commnications a lot of the

>
> time.
>
>>>They also get the com ports so hung up that the only

>
> way
>
>>>to "fix" the problem is to either reboot the system, or

>
> go
>
>>>into device manager and disable and re-enable the

>
> device.
>
>>>Is this related to how the new operating system's

>
> handle
>
>>>com ports, how they are configured, or is it that the
>>>software is not compatible with this version of

>
> windows.
>
>>>This is happening on multiple machines. Help

>>
>>.
>>


 
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
Windows 2000 Ports Johnathon Aaron Steel Microsoft Windows 2000 2 11th Nov 2004 04:39 AM
Windows 2000 ports Bubub Microsoft Windows 2000 Setup 1 9th Nov 2004 06:55 PM
Windows 2000 Ports Johnathon Aaron Steel Microsoft Windows 2000 Advanced Server 1 8th Nov 2004 11:54 PM
Windows 2000 Standard TCP/IP Ports Paul Hurst Microsoft Windows 2000 Printing 0 17th Feb 2004 08:57 PM
USB ports in windows 2000 support MD Microsoft Windows 2000 Hardware 0 14th Nov 2003 10:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:28 PM.