VB4/32bit and MSCOMM32.OCX 
Author Message
 VB4/32bit and MSCOMM32.OCX

I have an application built using VB4/32. It uses the MSCOMM32.OCX control
to speak to a serial device. If the FIFO Uarts are set to their minimum
levels, it does not communicate with the serial device. If I break inside my
receive routine, it tells me that the message I have received is much larger
than normal(5 to 6 bytes is normal). The received message is greater than
9K. It doesn't seem to matter what I do to the control settings such as the
inbuffer and outbuffer size properties. If I set the FIFO's on the default
settings than everything works just fine.

Has anyone had any similar experiences?

Andrew Bailey



Sun, 16 Sep 2001 03:00:00 GMT  
 VB4/32bit and MSCOMM32.OCX
Hi Andrew,

Has anyone had any similar experiences?
<<

No.  But, I admit, that I wouldn't set the FIFO to less than the recommended
settings.  Are you doing anything unusual in your code?  Are you using
OnComm (with RThreshold = 1), or polling MSComm?  What version of
MSComm32.ocx are you using (there was a SP after the original release).

You can try XMComm (download from my homepage), and compare the results (it
uses MSComm32.ocx from VB6).  You also may be interested in my book (see
below).

Richard Grier
Hard & Software
12962 West Louisiana Avenue
Lakewood, CO  80228
303-986-2179 (voice)
303-986-3143 (fax)
Author of Visual Basic Programmer's Guide to Serial Communications, 2nd
Edition (355 pages).
For information look on my homepage at http://www.hardandsoftware.net.
Use the Books link to order.  For faster service contact the publisher at
http://www.mabry.com.



Sun, 16 Sep 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. VB4 MSCOMM32.OCX Problem??

2. MSComm32.ocx Using v5 in vb4-32

3. BUG?? MSComm32.ocx in VB4-32 Enterprise Version

4. BUG?? MSComm32.ocx in VB4-32 Enterprise Version

5. VB4/VBSQL/OCX/32BIT

6. VB4 or VB5 32bit Video Capture OCX?

7. Help: VB4 32bit Midi OCX

8. Dialing a phone # in VB4 32bit without MSCOMM.OCX

9. LowLevel routines (Like Microhelps MUSCLE.VBX) under VB4/32Bit(DLL/OCX)

10. dbgrid32.ocx (VB4/32bit) registration ???

11. MSComm16.ocx, MSComm32.ocx

12. Communications Control - MSCOMM16.OCX / MSCOMM32.OCX

 

 
Powered by phpBB® Forum Software