I am developing an application for a mobil computer with an integrated barcode scanner which is running WinCE. The API presents two solutions.

DWORD SCAN_ReadLabelMsg(HANDLE hScanner,LPSCAN_BUFFER lpScanBuffer,
                        HWND,UINT uiMsgNo, DWORD dwTimeOut,
                        LPDWORD lpdwRequestID);

DWORD SCAN_ReadLabelEvent(HANDLE hScanner,LPSCAN_BUFFER lpScanBuffer,
                          HANDLE hEvent,DWORD dwTimeOut,
                          LPDWORD lpdwRequestID);

I use first because I don't know what is Event in the second case.

Gabor



Micha Nelissen írta:
Gabor Boros wrote:
Hi,

My problem is, the Scan procedure not executed.
I tried with Delphi and working.
I am missed something or is this a bug?

Message passing/handling is in general not to be relied upon, for
cross-platform reasons. There are other alternatives usually. What is it
you want to accomplish ?

Micha


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to