473,385 Members | 1,397 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

serial WriteFile hangs

I need to get an old Win98 program running on WinXP.

The program works on Win98, but hangs in WriteFile to COM port on Windows-XP.

The Visual-C++ program remote controls an embedded board through serial port.

Any ideas?
Nov 17 '05 #1
0 1510

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: salsipius | last post by:
I can't figure this out, Please Help!!!! I would appreciate any remarks or opinions or help about the code below. A you can see I am writing and reading from the serial port, that is going OK...
1
by: ORC | last post by:
Hi, I'm looking for a way to implement a simple functionality in my serial port C# wrapper. I'm making a program that must run on both a Pocket PC and a "normal" PC. The application is quite...
1
by: kiran | last post by:
Hi all, I have a problem to communicate with serial port(COM3:). I am able to open the handle but cannot send any data. 1. I connected my motoroala handset to PC through datacable. 2. I...
1
by: Mike | last post by:
Sorry, don't know if this is the correct board for my question. I'm a novice so I guess I have a valid excuse My question : I'm using Visual C++ and I need to collect data from a serial port. ...
0
by: _Doug | last post by:
WriteFile hangs when running serial (RS232) program on WinXP. Works okay on Win98. Breaking at the WriteFile (ThreadEntry...WriteFile) and then single stepping with debugger causes no exit from...
6
by: Leandro Berti via DotNetMonster.com | last post by:
Hi All, I wrote a code to do serial communication with an equipament. When i use the code outside of threaded class it seens work properly, but when i put inside a class and execute a thread in...
3
by: Manu | last post by:
Hi, i need to know how i can interface to RS232 with VC++.NET (MFC). In the old VC++ 6.0 there is the MSCOMM32 component, i read i can use it but there are some license problems. Is there some low...
2
by: evle | last post by:
haw to read data from an Infrared Infrared Remote Control
1
by: Ringo | last post by:
I'm trying to send numbers over the serial port as bytes, not strings. What I mean is if I want to send a 255, that should be 1 byte, not a 2 followed by a 5 and a 5. I'm trying to convert a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.