![]() |
|
#1
|
|||
|
|||
Handling Serial Port in Windows XPHi.
im doing my semester project. im in my final year in electrical engineering. the main problem is that im not soo much a good programmer in MFC. i want help in handling a Stepper motor using VC++ 6 MFC. i want to run the motor thorough serial port . can anyone help me in first , how data is write and read thorugh serial port. can anyone tell me the PARAMETERS of CreateFile, ReadFile, WriteFile. Thanks.. Regards. Asad Ali |
|||
|
#2
|
|||
|
|||
Re: Handling Serial Port in Windows XpQuote:
For starters, I would go to msdn: Serial Communications in Win32 There is a complete example (in C) using the Windows API functions CreateFile, ReadFile, WriteFile, ... Click on the link that says "Download the MTTTY sample (4918.exe) " Executing this unzips a number of files, including MAKEFILE. Compile from a command line with nmake. Works for me with MSVC++ Version 6 on Windows xp. Regards, Dave |
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command & Conquer 95 under XP | dexter | Computer Software Forum - Games | 42 | 20-Sep-2008 14:30 |
| Hard drive/CPU Diagnoses Issues | binarybug | Computer Hardware Forum | 1 | 22-Jan-2007 20:23 |
| Serial Port Communication | a3.charles | C Programming Language | 0 | 04-Aug-2006 00:42 |
| Activating Windows XP | LlamaOfDeath | Computer Software Forum - Windows | 1 | 13-Jun-2005 15:00 |
| Trouble with Windows XP | vsseym | Computer Software Forum - Windows | 29 | 12-Aug-2004 04:56 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The