EasyManuals Logo
Home>Unitech>PDA>PA500

Unitech PA500 Programming Manual

Unitech PA500
30 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #28 background imageLoading...
Page #28 background image
-
7. Dynamic Load DLL
Compiler would not load the DLL while use dynamic load DLL, it help user to load the DLL if it exists while the
application executed. The follow is the example.
Note: Even user does not need include the header and lib file but need to know the function definition.
//////////////////////////////////////////////////////////////////////////////////////////
HINSTANCE g_hUSIDLL;
typedef BOOL (*lpfnUSI_GetScannerVersion)(LPTSTR model, LPTSTR firmware, LPTSTR sdk, int blen);
lpfnUSI_GetScannerVersion USI_GetScannerVersion;
g_hUSIDLL = LoadLibrary(L"\\Windows\\USI.dll");
if (g_hUSIDLL != NULL)
{
USI_GetScannerVersion = (lpfnUSI_GetScannerVersion)GetProcAddress(g_hUSIDLL,
TEXT("USI_GetScannerVersion"));
}
else
{
MessageBox(_T("Load library USI.dll fail"), NULL, MB_OK);
return;
}
TCHAR lstrmodel[50], lstrfirmware[50], lstrsdk[50];
if (USI_GetScannerVersion != NULL)
rc = USI_GetScannerVersion(lstrmodel, lstrfirmware, lstrsdk, sizeof(lstrmodel) + sizeof(lstrfirmware) +
sizeof(lstrsdk));
else
MessageBox(_T("USI_GetScanerVersion does not find"), NULL, MB_OK);
if (g_hUSIDLL != NULL)
FreeLibrary(g_hUSIDLL);
//////////////////////////////////////////////////////////////////////////////////////////

Table of Contents

Other manuals for Unitech PA500

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Unitech PA500 and is the answer not in the manual?

Unitech PA500 Specifications

System Memory IconSystem Memory
SDRAM64 MB
Flash ROM64 MB
Display IconDisplay
display resolution240x320 QVGA
display typeColor Transflective TFT
touch screenyes
Laser Bar Code Scanner IconLaser Bar Code Scanner
scan rate104 scans/sec ± 12 scans/sec
scan angle default47°±3°
scan angle reduced35°±3°
Power IconPower
main battery voltage3.7 V
main battery capacity2200 mAh
rechargeable time3.5 hours
Operating Environment IconOperating Environment
operating temperature32°F to 122°F (0°C to 50°C)
storage temperature-4°F to 140°F (-20°C to 60°C)
relative humidity5% ~ 95% (non-condensing)
Weight and Dimensions IconWeight and Dimensions
weight with battery and scan engineUnder 213 g
length126 mm
height23 mm

Related product manuals