Solved

Question for inthe.

Posted on 2002-06-03
7
864 Views
Last Modified: 2008-02-20
Hi Barry,
Thanks for your help at http://www.experts-exchange.com/jsp/qShow.jsp?ta=delphi&qid=20136842   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: http://gzddc.51.net/MSComm%20Properties.jpg

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
0
Comment
Question by:SupWang
  • 4
  • 3
7 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 150 total points
ID: 7051923
hi,
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)
0
 
LVL 2

Author Comment

by:SupWang
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.
0
 
LVL 2

Author Comment

by:SupWang
ID: 7053790
Hi inthe,
Where have the CommPortDriver help file?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 17

Expert Comment

by:inthe
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.
0
 
LVL 2

Author Comment

by:SupWang
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 addsup@163.net

Thank you very much.



0
 
LVL 17

Expert Comment

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

thatll be fine.

b.t.w does mscomm work ok on nt?
0
 
LVL 2

Author Comment

by:SupWang
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?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 2010 Export to pdf 2 285
proper way to parse url in delphi 2 160
Communication Between RC4 Delphi <-> PHP 3 99
tvirtualstringtree freeze when load too manny images 10 52
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

914 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now