on 09-06-2017 2:00 AM - last edited on 02-04-2024 12:09 AM by postmig_api_4
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!
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.