 |
|
|
Topic: VFP9 on Win8 replaced mscomm with scomm32 but no input received
|
By: Bill | Posted on: Oct 3 2015 at 11:40:56 PM | I am using a timer on port 3 through a usb to serial adapter. It all worked fine in Win7 but going to Win8/10 it no longer grabbed the data from the timer. If I run everything as admin, I can get an ole error "ole idispatch exception code 0 from mscomm". I decided to try scomm32 in the place of the mscomm objects but I get nothing still from the timer. Using a logging program, it does record fine so it is just VFP9 and the control that are causing it not to work in Win8. Any suggestions for getting scomm32 to work? | |
By: Guest | Posted on: Oct 8 2015 at 10:23:34 PM | At first i wanted to blame the windows 8 device driver of the USB/RS232 device. For some reason windows 8 automatically installs non functional drivers on some prolific devices. Going to the prolific website and downloading the proper drivers fixes that problem.
But then you said that the device works fine when using a logging program.
If you're sure its the same computer and the same usb/rs232 device then i'm kind of stumped
It wouldnt harm though to make sure you have the proper drivers from the usb/rs232 manufacturers website. | |
By: Bill | Posted on: Oct 11 2015 at 04:04:52 PM | Thanks but yes I do have the proper drivers. There is another program the timer company has that will let you send the output to another program and I told it to send to Notepad and it worked fine in Windows 8 as well. Now that I think of it, I will see if they know what control they are using in that program to capture the serial input since it works in Windows 8. | |
By: Bill | Posted on: Dec 6 2015 at 11:49:09 PM | Just for posterity, I have gotten it working with windows 10 so assume 8 will work as well. Just some lousy FoxPro settings that were causing the problem. Scomm32 is a lifesaver! | |
By: Support | Posted on: Dec 7 2015 at 08:58:39 AM | Bill. It would be great if you could tell us what foxpro settings were causing the problem.
Thanks
| |
|