The Windows 95 32-bit driver, PICO.VXD, is installed in windows\system, It is loaded using a reference in
system.ini:
[386enh]
......
.....
device=pico.VXD
The Windows 98/ME USB port driver, PICOPP.SYS, is installed in \windows\system32\drivers. The file
picopp.inf, must be placed in \windows\inf so that Windows knows which driver to load when the USB parallel
port is plugged in.
The Windows 95 32-bit driver is accessed using the file ADC10032.DLL: it is installed in drivers\win32. The
DLL uses STDCALL linkage conventions, and undecorated names. The same ADC10032.dll file can
be used in all 32-bit versions of Windows, for both parallel port and USB port connected products.
Windows NT/2000/XP
The Windows NT/2000/XP driver, PICO.SYS, is installed in windows\system32\drivers. The operating
system must be told that the driver is available: this is normally done automatically by the setup program,
but can also be done manually using the the regdrive.exe program which is copied into the PICO
directory. Type in
regdrive pico
The Windows 2000/XP USB port driver, PICOPP.SYS, is installed in \windows\system32\drivers. The file
picopp.inf, must be placed in \windows\inf so that Windows knows which driver to load when the USB parallel
port is plugged in.
The Windows NT 32-bit driver is accessed using the file ADC10032.DLL: it is installed in drivers\win32.
The DLL uses STDCALL linkage conventions, and undecorated names. The same ADC10032.dll file
can be used in all 32-bit versions of Windows, for both parallel port and USB port connected products.
C
DOS
To link the driver into you program, you should take the following steps:
#include the header file adc100.h into your program
If you are using an IDE, include the file adc100drv.obj in you project.
If you are using a command-line compiler, include the file adc100drv.obj in you linkfile.
See adc100b.c for an example of a simple DOS program which uses the driver.
C / C++ (Windows)
C
There are two C example programs: one is a very simple GUI application, and the other is a more
comprehensive console mode program that demonstrates all of the facilities of the driver.
The GUI example program is a generic windows application- ie it does not use Borland AppExpert or Microsoft
AppWizard. To compile the program, create a new project for a Windows Application containing the following
Commenti su questo manuale