The future of Windows CE

164 views
Skip to first unread message

Werner Petersen

unread,
Aug 7, 2018, 6:08:35 AM8/7/18
to multisoft FlagShip
Hi Guys,

since 30 years i am a coder of software in several languages like MASM, Cobol, C++
dBase, Clipper, xBase++ etc.
I am create a scanner software long time ago runnig under windows ce. Now Microsoft
annoucend the end of windows ce. 
My choice is now :
- change to Android
- change to Linux
My question to you : Is there anybody out there who has create such a software using Flagship 
running on scanner like FALCON ??

Paul

unread,
Sep 3, 2018, 8:03:27 AM9/3/18
to multisoft...@googlegroups.com
If your Falcon scanner is connected by serial interface, simply use the FlagShip serial interface functions (available in source in the FS2 Toolbox library), here very simplified example:

   local iPort := 1  // = serial port COM1
   local cTmp, cData := ""
   if !com_open(iPort) ; myError() ; endif
 [ com_hard(...) ; com_soft(...) ]
   if !com_init(iport,...) ; myError() ; endif
 [ com_timeout(iPort,...) ]
   while .T.
      cTmp := com_read(iPort)  // read data
      if empty(cTmp)
         exit
      endif
      cData += cTmp
   enddo
   com_close(iPort) // close port

This works in 32/64bit Windows or Linux. Paul
Reply all
Reply to author
Forward
0 new messages