cancel
Showing results for 
Search instead for 
Did you mean: 

PowerBuilder 10.2.1 mscomm32.ocx

Former Member
0 Kudos

Hi,

I have a program to read data from a electronic balance connected to serial port (COM 1), it works fine in Windows 7 (32bits) but not work in Windows 7 (64bits) environment. I have already do the "regsvr32 mscomm32.ocx" in both "c:\windows\system32" and "c:\windows\syswow64" folder.

My code:

i_ole_comm = create oleobject

vresult = i_ole_comm.connecttonewobject('mscommlib.mscomm')

It is checked the result of vresult = -3 (Object could not be created).

Thank you for your help!

Hi,

It may not be related to Windows7 32bits or 64bits machine.

I try it again and different results had been found:

1) Update the EBF file (Version 10.2.1 Build 9948) of PB10 in Windows 7 64bits machine, the vresult is zero and OK now.

2) Try to install the program in a Windows 7 32bits machine and do all the procedures, the vresult is -3.

Anyone has idea about my case? Thanks a lot!

Accepted Solutions (0)

Answers (0)