Link to home
Start Free TrialLog in
Avatar of SupWang
SupWang

asked on

Question for inthe.

Hi Barry,
Thanks for your help at https://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
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SupWang
SupWang

ASKER

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.
Avatar of SupWang

ASKER

Hi inthe,
Where have the CommPortDriver help file?
>>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.
Avatar of SupWang

ASKER

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.



>>Now I just use the VB5 MScomm32.ocx

thatll be fine.

b.t.w does mscomm work ok on nt?
Avatar of SupWang

ASKER

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?