Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » >Port 9(say port 10) (Port 10 opening)
>Port 9(say port 10) [message #43843] Mon, 03 November 2014 10:07 Go to next message
ayana is currently offline  ayana
Messages: 16
Registered: November 2011
Promising Member
Dear All,

I am facing difficulty in opening "port 10" in my computer system for serial communication through "CommPak" program.Its giving "can not open port 10", Please help me to fix this problem. Code snippet and examples are expected.

Thanks & Regards,

Ayana
Re: >Port 9(say port 10) [message #43845 is a reply to message #43843] Tue, 04 November 2014 04:55 Go to previous message
ayana is currently offline  ayana
Messages: 16
Registered: November 2011
Promising Member
Dear all,

Got the solution for it.For ports above 9
in Serial.cpp
CHANGE
wsprintf( szPort, "COM%d", nPort );
TO
wsprintf( szPort, "\\\\.\\COM%d", nPort );

Thanks,
Ayana
Previous Topic: HowTo bind StaticImage to SQL
Next Topic: Character array
Goto Forum:
  


Current Time: Tue Apr 23 22:52:20 CEST 2024

Total time taken to generate the page: 0.02106 seconds