Delphi Xe Serial Port Component
Hi All,I have been using BCB6 and TurboPower Async Pro for almost ten years now. The majority of my programs require support for serial ports. Recently, I decided to upgrade to C Builder 2010.
Much to my dismay, I then discovered that Async Pro does not work with CB 2010. My CB 2010 now sits collecting dust.There seem to be several issues at play here. One is Unicode. Another is the that all the current supporters of Async Pro are Delphi guys. Another problem is that CB 2010, unlike BCB 6, does not compile Delphi packages.
I don't understand all the details but it seems clear that Async Pro is a dead end for C Builder programmers.I would like to know if there are other packages out there that are known to work with CB 2010, preferably ones that don't cost hundreds of dollars.Also, does anyone know why, after all these years, Borland/Emvbarcadero has never provided serial support?Thanks for any help.Daniel Bissett. Hi All,I have been using BCB6 and TurboPower Async Pro for almost ten years now. The majority of my programs require support for serial ports. Recently, I decided to upgrade to C Builder 2010. Much to my dismay, I then discovered that Async Pro does not work with CB 2010.
My CB 2010 now sits collecting dust.There seem to be several issues at play here. One is Unicode. Another is the that all the current supporters of Async Pro are Delphi guys. Another problem is that CB 2010, unlike BCB 6, does not compile Delphi packages.
Delphi Xe Serial Port Component Repair Management Select your country to continue on HP.com. United Kingdom United States. No other company offers as complete a technology product. Do you like Torry's Delphi Pages? You can support it by donation at your choice by button below. DirectPort is simple and suitable component for direct access to port in system Windows NT 4.0, Windows 2000, Windows XP (Was Tested. (HD serial number, geometry, etc.) for IDE1-IDE4.
I don't understand all the details but it seems clear that Async Pro is a dead end for C Builder programmers.I would like to know if there are other packages out there that are known to work with CB 2010, preferably ones that don't cost hundreds of dollars.Also, does anyone know why, after all these years, Borland/Emvbarcadero has never provided serial support?Thanks for any help.Daniel BissettThat's a question that much other people does. The only people thatuses CB instead of Visual C or GNU in the business sector I work arethose related to hardware stuff that needs communicate with a PC, forexample utilities to save configuration in boards and/or vendingmachines with a PC into them and so.All people has solved their way.
Delphi Xe Serial Port Component List
Delphi Developer. Virtual serial port? 2007-10-09 07:50:13 PM delphi256 I am looking for a virtual serial port component. (or utility) I need to create a virtual serial port that is visible to other applications. My application will receive data from a real hardware com port and manipulate the data, if needed. Then write it to a virtual com.
Some had done a simple component.Other uses a class that encapsulates CreateFile/WriteFile/ReadFilestuff, other uses old MSCOMM OCX control, but all does it as atemporary solution until 'borland' will add a serial port component. Rafael Ontivero wrote:That's a question that much other people does. The only people thatuses CB instead of Visual C or GNU in the business sector I work arethose related to hardware stuff that needs communicate with a PC, forexample utilities to save configuration in boards and/or vendingmachines with a PC into them and so.I work in broadcasting and television and spend my time getting different pieces of equipment to talk to each other. Believe me, serial communication is NOT dead.A public example of my work can be found here:Rafael, thanks for your support. Rafael Ontivero wrote:That's a question that much other people does. The only people thatuses CB instead of Visual C or GNU in the business sector I work arethose related to hardware stuff that needs communicate with a PC, forexample utilities to save configuration in boards and/or vendingmachines with a PC into them and so.I work in broadcasting and television and spend my time getting different pieces of equipment to talk to each other.
Believe me, serial communication is NOT dead.A public example of my work can be found here:Rafael, thanks for your support.每镁M. Hi All,I have been using BCB6 and TurboPower Async Pro for almost ten years now.The majority of my programs require support for serial ports. Recently, Idecided to upgrade to C Builder 2010. Much to my dismay, I thendiscovered that Async Pro does not work with CB 2010. My CB 2010 now sitscollecting dust.There seem to be several issues at play here. One is Unicode. Another isthe that all the current supporters of Async Pro are Delphi guys.
Anotherproblem is that CB 2010, unlike BCB 6, does not compile Delphi packages.That may be true, but only if you do not have RAD Studio, and only fromwithin the IDE. You're not at a dead-end. CB2010 comes with a Delphicompiler, so it should be able to compile Delphi packages from the commandline. I do not have CB2010, so I cannot confirm that 100%, but it seemslikely (every previous version of CBuilder has included a Delphi compilerthat could compile Delphi packages).However, even if you cannot compile Delphi packages, you can compileCBuilder packages, and since CBuilder packages can contain Delphi sourcecode, if yiou had to, you could create a CBuilder package that containsthe AsyncPro source code and build it that way. Dennis Jones wrote:That may be true, but only if you do not have RAD Studio, and only fromwithin the IDE.What I did was to download the demo version of RAD Studio and install Async Pro. It compiled correctly and the components loaded into the Delphi IDE.
However, I could do nothing to get the components loaded into the C Builder IDE. While the issue of CB2010 being able to compile Delphi code is an obstacle, it is not the only problem.I really don't want to be thought of as someone who throws stones at open source developers. They do a great deal of work and they do it without compensation. The Async Pro developers should be applauded for their efforts. A great number of Delphi users are dependent on and happy with their efforts. In spite of this, it is clear that their resources are too limited to support the C side.
Dennis Jones wrote:Probably because it is not trivial and because companies like TurboPower andGreenleaf had already done a good job of it, so why re-invent the wheel?However, now that AsyncPro is in the public domain, it could easily becomepart of normal Delphi/CBuilder releases (like they are doing with Boost).If Embarcadero were to add the component to the releases, it would imply at least some level of commitment to assisting the open source developers. The packages would at least have to be kept up to date to work with with the current release. The current problem is that this has failed to happen on the C side. I think this would be great for the users but Embarcadero would have to decide if they have the time (spoken money) to make this commitment.My original question still stands; What can I use today?DanielEdited by: Bissett Daniel on Jun 19, 2010 12:32 PM. What I did was to download the demo version of RAD Studio and installAsync Pro.
It compiled correctly and the components loaded into theDelphi IDE. However, I could do nothing to get the components loadedinto the C Builder IDE.
While the issue of CB2010 being able tocompile Delphi code is an obstacle, it is not the only problem.did you try to set the 'Linker output' option for the Delphi compilerto 'Generate all CBuilder files (including package libs)'?If you change that setting after the package was installed once, you'llprobably need to clear the package cache (a long-standing bug):-Moritz'Hey, it compiles! Dennis Jones wrote:That may be true, but only if you do not have RAD Studio, and only fromwithin the IDE.What I did was to download the demo version of RAD Studio and install Async Pro. It compiled correctly and the components loaded into the Delphi IDE. However, I could do nothing to get the components loaded into the C Builder IDE. While the issue of CB2010 being able to compile Delphi code is an obstacle, it is not the only problem.I really don't want to be thought of as someone who throws stones at open source developers. They do a great deal of work and they do it without compensation. The Async Pro developers should be applauded for their efforts.
A great number of Delphi users are dependent on and happy with their efforts. In spite of this, it is clear that their resources are too limited to support the C side.
Dennis Jones wrote:Probably because it is not trivial and because companies like TurboPower andGreenleaf had already done a good job of it, so why re-invent the wheel?However, now that AsyncPro is in the public domain, it could easily becomepart of normal Delphi/CBuilder releases (like they are doing with Boost).If Embarcadero were to add the component to the releases, it would imply at least some level of commitment to assisting the open source developers. The packages would at least have to be kept up to date to work with with the current release.
The current problem is that this has failed to happen on the C side. I think this would be great for the users but Embarcadero would have to decide if they have the time (spoken money) to make this commitment.My original question still stands; What can I use today?DanielEdited by: Bissett Daniel on Jun 19, 2010 12:32 PMDid you ever resolve this? Think in similar position (BCB6 and async pro for god knows how long), and utterly annoyed to say the least that it's not in CB2010. Think i'm going back to my bcb6. I have been using BCB6 and TurboPower Async Pro for almost ten years now.
The majority of my programs require support for serial ports. Recently, I decided to upgrade to C Builder 2010.
Much to my dismay, I then discovered that Async Pro does not work with CB 2010. My CB 2010 now sits collecting dust.There seem to be several issues at play here. One is Unicode. Another is the that all the current supporters of Async Pro are Delphi guys. Another problem is that CB 2010, unlike BCB 6, does not compile Delphi packages. I don't understand all the details but it seems clear that Async Pro is a dead end for C Builder programmers.I would like to know if there are other packages out there that are known to work with CB 2010, preferably ones that don't cost hundreds of dollars.Also, does anyone know why, after all these years, Borland/Emvbarcadero has never provided serial support?ComPort component supports CB 2010erik salaj. I have been using BCB6 and TurboPower Async Pro for almost ten years now.
The majority of my programs require support for serial ports. Recently, I decided to upgrade to C Builder 2010. Much to my dismay, I then discovered that Async Pro does not work with CB 2010.
My CB 2010 now sits collecting dust.There seem to be several issues at play here. One is Unicode. Another is the that all the current supporters of Async Pro are Delphi guys. Another problem is that CB 2010, unlike BCB 6, does not compile Delphi packages. I don't understand all the details but it seems clear that Async Pro is a dead end for C Builder programmers.I would like to know if there are other packages out there that are known to work with CB 2010, preferably ones that don't cost hundreds of dollars.Also, does anyone know why, after all these years, Borland/Emvbarcadero has never provided serial support?ComPort component supports CB 2010erik salajI have the same problem as the OP. I am trying to install AsyncPro, which is now apparently available only in Delphi source format.
I am using a trial version of RAD Studio XE. I can't figure how to start the Delphi compiler (or even if there is one as part of the program, despite the fact that the product description says there is). It's possible that I did the installation wrong but I don't recall any compiler choices there. If I try to compile with the IDE I get a 'missing Delphi.personality' message. I attempted the command line approach but the trial version doesn't seem to support command line compiling. I am completely at a loss. I will buy the Studio package if I can figure how to get this package installed- it's mandatory since my applications are serial/usb intensive.I am trying to upgrade from C Builder5 and AsyncPro 3, which has worked well in the past but is getting dated, plus when I try to use the 'build with run time packages' option I am now getting access violations for some reason.
Any help would be most appreciated.I have also tried the ComPort utility from Winsoft as described in the previous post. All I really need is a com port object, no fax, TCP/IP, etc, so this tool would suffice in place of Async Pro. However, after installation, the ComPort item shows up checked in the 'install packages'-design packages window, but no trace of the ComPort item where it's supposed to be in the 'System' palette area of the tool box. I am probably doing something wrong, the IDE has changed a lot since CBuilder 5.
I should also note that the first time I installed Comport, it apparently installed the tool in the earlier CBuilder 5 program (successfully I think, it showed up in the tool box). I then uninstalled version 5 and comport, re-installed comport, but still no comport tool in the toolbox in XE. Very frustrating, I've been stalled for days and any help would be a huge relief.Thanks,Harry. Gents,I too found myself in the position of going on using CBuilder 6 and the free Turbopower serial port component for much longer than I expected. I had a couple of warnings about this cosy state of affairs.
The first being that after getting XE I could not load the Turbopower component. I also could not load the Turbopower component into CBuilder 6 when installed on Windows 7 (my company is shortly to move to this OS).
So I thought I should come up with a solution. I created a class in a thread which allows the creation of multiple COM ports in an application. There is a project here:Which gives an example of a simple app with 2 COM ports.
You will need to change the code for the COM ports on your PC. Once you have done this you can send a message by pressing the button. Just connect pins 2 & 3 on your serial port and you can stream data. Full source code is provided.I hope you find this of some assistance.Regards.Simon. Simon Quin wrote:Which gives an example of a simple app with 2 COM ports. You will need to change the code for the COM ports on your PC.
Once you have done this you can send a message by pressing the button. Just connect pins 2 & 3 on your serial port and you can stream data. Full source code is provided.I hope you find this of some assistance.Hi Simon,Thanks for sharing your work.
I am using C XE5, and when running your project I get this error:bcc32 Error EthernetThreadtestMain.cpp(8): E2209 Unable to open include file 'EnetThread.h'any idea? I have also tried the ComPort utility from Winsoft as described in the previous post.
All I really need is a com port object, no fax, TCP/IP, etc, so this tool would suffice in place of Async Pro. However, after installation, the ComPort item shows up checked in the 'install packages'-design packages window, but no trace of the ComPort item where it's supposed to be in the 'System' palette area of the tool box. I am probably doing something wrong, the IDE has changed a lot since CBuilder 5.
I should also note that the first time I installed Comport, it apparently installed the tool in the earlier CBuilder 5 program (successfully I think, it showed up in the tool box). I then uninstalled version 5 and comport, re-installed comport, but still no comport tool in the toolbox in XE. Very frustrating, I've been stalled for days and any help would be a huge relief.1. Check, whether Winsoft ComPort Component package is enabled(menu Component/Install packages), try to switch off anotherComPort components2. ComPort component could be placed on another component palette3. Check, whether comportp.bpl package was created. Compilationuses dcc32 command line compiler when installing component.Some C Builder editions may not contain this compiler, in thiscase compile the package manually - directly in C Builder IDE.Erik Salaj, WINSOFT.