Question for inthe.

Posted on 2002-06-03
Last Modified: 2008-02-20
Hi Barry,
Thanks for your help at   and thanks for your email.

Sorry for the long delay, I have to do many different projects, very hard.  :-(

Do you have the MSComm? It comes from VB/VC. Now I using this component in my Delphi program, I want to change to a VCL component, the CommPortDriver seems have many different with the MSComm, It seems don't have the IEOFEnable Input InputLen InputMode NullDiscard Output ParityReplace Rthreshold RTSEnable sthreshold  properties. (In my program, I don't used the OnComm event of MSComm, Just use the Input/Output property to receive/send data.)
It's properties picture in here:

How can I change to a VCL communication component smoothly?
Where has a free VCL component duplicate the functionality of the Mscomm32.ocx?

Best Regards, supwang
Question by:SupWang
  • 4
  • 3
LVL 17

Accepted Solution

inthe earned 150 total points
ID: 7051923
i know the mscomm though ive not used it myself.
i have quite a few comm component installed but none of them have half these properties youve listed here.

if mscomm does the job maybe best to stick with it..
unless someone else knows a component to mimic it.
or could you not create a vcl based on the activex (i mean use it as parent)

Author Comment

ID: 7052597
Hi inthe,
To use the MSComm in the target computer, must copy some files(stdole2.tlb  oleaut32.dll  olepro32.dll  Mscomm32.ocx  Mscomchs.dll...) to the target computer windows system directory, then register the Mscomm32.ocx.
I wonder the target computer have other version of these files before the installation.

Author Comment

ID: 7053790
Hi inthe,
Where have the CommPortDriver help file?
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 17

Expert Comment

ID: 7054778
>>I wonder the target computer have other version of these files before the installation.

although most systems will have most of the dlls already you have to assume they wont have them and install the newest versions you can get hold of.
you can search for the files on target pc and if they exists check the file version number and compare them with the ones your deploying..

>Where have the CommPortDriver help file?

actually your in luck there as i do have a help file for it, it was in a different zip ,leave your email address
(i cant find the one i sent to before) so i can send it.

Author Comment

ID: 7055169
Hi inthe,
Do you means I should always install the newest VB version on my deploying computer? (Now I just use the VB5 MScomm32.ocx)

My email is

Thank you very much.

LVL 17

Expert Comment

ID: 7056715
>>Now I just use the VB5 MScomm32.ocx

thatll be fine.

b.t.w does mscomm work ok on nt?

Author Comment

ID: 7059159
Not have full test on NT yet.
But On the win2k pro/winxp pro, I find when exit my program, have a error message: "Privileged instruction.". Do you know which cause this? and Can the Delphi 3 work fine with win2K pro?

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question