Jon Munro wrote:Hathal,
Have you considered ActiveSync or other serial comms program with Bluetooth? Possibly less painful. I only need a few basic functions.
regards, saludos
Jon Munro wrote:I've grafted fragments of FWPPC 'comm.c' into parts of Harbour Telepathy (port by Luiz Rafael Culik Guimaraes) and have a working FWPPC test program that reads from a barcode scanner and can send acks, etc. Nearly there...
Regards and happy and successful 2006 to all
STATIC FUNCTION OPENCOMM(nPort)
// Ouvrir le port en lecture
LOCAL hPort
hPort := CreateFile( "COM"+ltrim(str(nPort))+":",;
GENERIC_READ, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL )
IF hPort == -1
MSGALERT("Impossible d'ouvrir le port")
ENDIF
RETURN hPort
Raymond Fischbach wrote:I could not find the documentation of the "CreateFile" function. Can you tell me where to look ?
Return to FiveWin for Pocket PC
Users browsing this forum: No registered users and 23 guests