Bug in WriteComm() [Fixed]

Bug in WriteComm() [Fixed]

Postby Enrico Maria Giordano » Fri Apr 17, 2015 12:53 pm

The following sample freezes if you change 32767 to 32768. Any ideas?

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL nCom := OPENCOMM( "COM1", 16384, 16384 )

    LOCAL cDcb

    BUILDCOMMDCB( "COM1:57600,N,8,1", @cDcb )

    SETCOMMSTATE( nCom, cDcb )

    ? WRITECOMM( nCom, SPACE( 32767 ) )

    CLOSECOMM( nCom )

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 6655
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in WriteComm()

Postby cnavarro » Fri Apr 17, 2015 6:02 pm

Muchas gracias. Many thanks.
Saludos,Regards

Cristobal Navarro - Harbour (r1601050904) - xHarbour (Build 20150603) - VS 2015/17 - FWH 17.12

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
User avatar
cnavarro
 
Posts: 3883
Joined: Wed Feb 15, 2012 8:25 pm
Location: España



Return to Bugs report & fixes / Informe de errores y arreglos

Who is online

Users browsing this forum: No registered users and 1 guest