Delphi Xe5 Serial Communication Linux
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. How To Patch Cheat Pcsx2 Iso. 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.
Delphi and C++ Builder component for serial communication for Android Delphi xe5 android serial port. Delphi xe5 android serial port.
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 Legend Of Hercules Full Movie Download In Hindi Hd. 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 That's a question that much other people does. The only people that uses CB instead of Visual C++ or GNU in the business sector I work are those related to hardware stuff that needs communicate with a PC, for example utilities to save configuration in boards and/or vending machines with a PC into them and so.
All people has solved their way. Some had done a simple component. Other uses a class that encapsulates CreateFile/WriteFile/ReadFile stuff, other uses old MSCOMM OCX control, but all does it as a temporary solution until 'borland' will add a serial port component. Rafael Ontivero wrote: That's a question that much other people does. The only people that uses CB instead of Visual C++ or GNU in the business sector I work are those related to hardware stuff that needs communicate with a PC, for example utilities to save configuration in boards and/or vending machines 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. 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. That may be true, but only if you do not have RAD Studio, and only from within the IDE. You're not at a dead-end.
CB2010 comes with a Delphi compiler, so it should be able to compile Delphi packages from the command line. I do not have CB2010, so I cannot confirm that 100%, but it seems likely (every previous version of C++Builder has included a Delphi compiler that could compile Delphi packages).
However, even if you cannot compile Delphi packages, you can compile C++Builder packages, and since C++Builder packages can contain Delphi source code, if yiou had to, you could create a C++Builder package that contains the 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 from within 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 and Greenleaf 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 become part of normal Delphi/C++Builder 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? Daniel Edited by: Bissett Daniel on Jun 19, 2010 12:32 PM. 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. Did you try to set the 'Linker output' option for the Delphi compiler to 'Generate all C++Builder files (including package libs)'? If you change that setting after the package was installed once, you'll probably 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 from within 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 and Greenleaf 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 become part of normal Delphi/C++Builder 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? Daniel Edited by: Bissett Daniel on Jun 19, 2010 12:32 PM Did 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 2010 erik 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 2010 erik salaj I 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 C++Builder 5. I should also note that the first time I installed Comport, it apparently installed the tool in the earlier C++Builder 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. 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 C++Builder 5. I should al so note that the first time I installed Comport, it apparently installed the tool in the earlier C++Builder 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.
Check, whether Winsoft ComPort Component package is enabled (menu Component/Install packages), try to switch off another ComPort components 2. ComPort component could be placed on another component palette 3. Check, whether comportp.bpl package was created. Compilation uses dcc32 command line compiler when installing component. Some C++ Builder editions may not contain this compiler, in this case compile the package manually - directly in C++ Builder IDE.
Erik Salaj, WINSOFT.