-20-
Software User’s Manul
4.3 ActiveX Control Application Manual
PCI-16P16R supplies ActiveX Control as
API
(application
interface). The name of ActiveX control is
PCI16PR
, its
corresponding file is
PCI16PR.OCX
. After installing the
sample program by running
Setup.exe
in the floppy disk
supplied as shown at Part 2, PCI16PR has already been
registered.
4.3.1 Application with VC
In
VC
project edit environment, Use menu “
Project
” and then
“
Add to Project
” to find “
Components and Controls
”. Select
“
Registered AciveX Controls
” in dialog “
Components and
Controls
”. Click
Insert
to add class CPCI16PR into source
code. At the mean time, PCI16PR will be added into Controls
Bar of resource editor automatically.
For example:
CPCI16PR mycard;
Mycard.Init(0);
4.3.2 Application with VB
In form editor, right-click control window to select
Compo-