Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Borland C++ Builder and serial ports

Status
Not open for further replies.

algilsan

Advanced Member level 4
Joined
Jan 20, 2002
Messages
116
Helped
7
Reputation
14
Reaction score
6
Trophy points
1,298
Location
chile
Activity points
1,078
c++ builder serial port

HI,

I'm intending to make a Borland c++ builder application, that uses serial port, but my mayor problem, is that i don't know how to use it, there is no control to use it on builder, i would not like to use direct api calls.

Can anybody help me?
 

borland c++ rs232

Hey man
........... there is no control to use it on builder .............
:lol:


only one example, a free one
look at hxxp://www2.arnes.si/~sopecrni/

Hugo
 

c++ builder serial

Lots of options available to you. Any Delphi VCL dealing with serial port (or any port as a matter of fact) can be used in C++ Builder. Also Any ActiveX or even DLL is usable from within C++ Builder.

Should not be hard at all to find many examples of what you seek and wish to do. Just keep in mind if you are intending use within Win2K or XP...those 2 OS handle the ports differently to previous versions of Windows. Again, lots of examples on the NET on how to do it.

Have Fun

JAba
 

serial port c++ builder

Check that code, I'm using this in BCB 4.0 You'll understand the code.If you can't, send me PM.



int dwError,fSuccess;
HANDLE hCom;
unsigned long dwSize;

void asdasdasdasdas
{

_DCB dcb;
OVERLAPPED o;

hCom = CreateFile("COM3", GENERIC_READ | GENERIC_WRITE,0,NULL,OPEN_EXISTING,0,NULL);

dcb.BaudRate = 38400;dcb.ByteSize = 8;dcb.Parity = NOPARITY;dcb.StopBits = ONESTOPBIT;

o.hEvent = CreateEvent(NULL,FALSE,FALSE,NULL);
assert(o.hEvent);
FlushFileBuffers(hCom);

fSuccess = WriteFile(hCom, "ABCDE", 5, &dwSize, NULL);
}
 

c++ builder com port

You can use Mscomm32.ocx -comes with Basic or VC
Or try to find Turbo Power Suite -include AsyncPro components
Very Nice
 

bcb com port

There are some components to make your life easy.
I use Comport from winsoft. It is very ease to use and cheap.
http://www.winsoft.sk/comport.htm

Another I haven't tested yet is the ComPort Library version 2.64 found at:
**broken link removed**

Here there are a tutorial:
**broken link removed**

Good luck!
 

comport c++ builder

many thanks to all. i've just viewed the topics because i was out
 

borland c++ builder serial port

Thanks for the info! I tried conport from winsoft and it very to use
 

borland serial port

Here is my favorite serial port library for Borland C-Builder, Delphi and VC.
**broken link removed**
:)
best regards
 

zcomm builder

I used the ZComm package a couple of years
ago to make up GUIs for configuring embedded
systems via RS-232 port (using BCB3).

**broken link removed**

Found the package stable and it ran without
problems at 115K. It's shareware, but you
get the source if you register. It's multi-
threaded and all those good things. I seem to
remember that is was free for personal use,
but looking at the web page now seems to
imply that it only runs with the IDE (in the
demo mode). But I know I used the v1.0.3
demo at the time, and it worked fine without
the IDE???
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top