Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8037091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:49:17+00:00 2026-06-05T02:49:17+00:00

When I try to connect to the COM port on Windows 7, using AsyncPro

  • 0

When I try to connect to the COM port on Windows 7, using AsyncPro (TApdComPort), I’m getting the error message like “Device already open”. But the same application working fine in Win Xp machine. I’m used Delphi 6 to develop the program. Please help me to resolve this issue.
Appreciate your help.
Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T02:49:19+00:00Added an answer on June 5, 2026 at 2:49 am

    What component are you using to connect to the COM Port?

    If you are using CreateFile API to open the port use GetLastError() API for a detalied error of your problem.

    If that doesn’t help you it means it’s a hardware problem

    Don’t know about the component you are using ApdComPort but you could do a simple test write a simple application to open the port just like this

    var
      comHandle : THandle;
    begin
      comHandle := CreateFile('COM66',GENERIC_READ or GENERIC_WRITE,0,nil,OPEN_EXISTING,0,0);
      if comHandle = INVALID_HANDLE_VALUE then ShowMessage(SysErrorMessage(GetLastError))
      else ShowMessage('Port opened');
    end //Make shure to replace COM66 with your actual COM Port you wish to open
    

    If it shows Port opened then it’s a problem with the component you are using so i would recommend this one http://sourceforge.net/projects/comport/ post here other error message to find a solution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting a port error when I try to deploy my app via: cap
Im using http://managedupnp.codeplex.com/ API to open up a port using UPNP on my NetGear
When I try to connect to local ports, Computer -> Connect local , using
What are the differences if I try to connect to an https using HttpURLConnection
try to set host in dsn of pdo like this: <?php /* Connect to
int Socket::Connect(const std::string& host, int port) { if(this->_connected) throw Socket is already connected; //
I try to connect a server though SSH using Ruby, but I have an
I am trying to connect to my gmail account using com.sun.mail ..... Mail api.
I am trying to send email through gmail using PHPMailer_V5.1. Getting the following error,
I try to connect to my BD This is my code public class JavaSQLTest

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.