Argox PT-10 Bedienungsanleitung Seite 39

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 79
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 38
API_GetBarDataLength
Get the scan data length.
UINT API_GetBarDataLength
{
}
Parameters
None
Return Values
Scan data length
Example
if(message == SM_DATA_READY){
CString strData;
UINT uiSize, uiType, i,uiLength;
char *pBuf;
uiLength = API_GetBarDataLength();
if(uiLength == 0)
strData = _T("No Data");
else{
uiSize = uiLength+1;
pBuf = (char *)new char[uiSize];
memset(pBuf, 0, uiSize);
API_GetBarData((LPBYTE)pBuf, &uiSize, &uiType);
for(i = 0 ; i < strlen(pBuf); i++)
strData += *(pBuf+i);
}
AfxMessageBox(strData);
return 0;
}
Requirements
OS Versions: Windows CE 5.0 and later.
Header: scanapiax.h
Link Library: scanapiax.lib
Link DLL: scanapiax.dll
Device: PT60
Programming Manual 36
Seitenansicht 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 78 79

Kommentare zu diesen Handbüchern

Keine Kommentare