USING THE SDK ON WINDOWS 2000/XP
PCI-AC51 User’s Guide
14
Porting Programs Developed with the Older SDK (Using
OptoPM32.dll) to Windows 7 and Vista
Programs developed previously with the older OptoPM32.dll SDK will not work with Windows 7 or
Vista due to an incompatibility at the driver level of these operating systems. If you want to convert
your existing program to work on Windows 7 or Windows Vista, follow these steps:
1.
Copy the files from the existing application to the Windows 7 or Vista computer.
2.
Install the PCI-AC51 SDK on the same computer.
The setup program will install the appropriate files and driver for the target operating system.
3.
Use the files in the directory listed below based on the target operating system:
–
For 64-bit Windows 7 or Vista
C:\Program Files\Opto22\PCI-AC51\Legacy-OptoPM32\FilesFor32BitAppsOn64BitSystems
–
For 32-bit Windows 7 or Vista
C:\Program Files\Opto22\PCI-AC51\Legacy-OptoPM32\FilesFor32BitAppsOn32BitSystems
4.
(For Development) If you want to compile the old program on Windows 7 or Vista, use the files
as follows. If you just want to run the old program, skip to the next step.
–
OptoPM32.h – Include this file in your existing application.
–
OptoPM32.lib – Link this file into your existing application.
5.
(For Deployment) To run the old program on Windows 7 or Vista, use the files as follows.
–
OptoPM32.dll – Put this file in the same directory as your application.
–
wdapi1031.dll – Put this file in the same directory as your application.
NOTE for VB Applications: Be sure to register any OCX files. For example, to register the file,
COMCT232.OCX, open a command prompt with “run as administrator” permissions. Navigate to the
directory where COMCT232.OCX resides, type regsvr32 COMCT32.OCX, then press Enter. If successful,
a dialog box will notify you.
Using the SDK on Windows 2000/XP
Use this section if you have Windows 2000/XP. If you are using the SDK for Windows 7 or Vista, see
“Using the SDK on Windows 7 and Vista” on page 9
.
This section shows you what’s in this version of the PCI-AC51 SDK and how to use it to simplify
application development with the PCI-AC51 adapter card.
NOTE: If you are migrating current applications to use with the newer PCI card, also see
Appendix C:
Converting Applications to the PCI-AC51
.
This version of the SDK runs in 32-bit Windows XP as well the 32-bit version of Windows 2000. The
SDK supports Microsoft Visual Basic (version 6) and Microsoft Visual C++ (version 6).
SDK Contents
The PCI-AC51 SDK includes a driver, sample applications, and tools to help you develop applications
for the PCI-AC51 adapter card and integrate it with your system. The driver saves you time and effort
Содержание PCI-AC51
Страница 8: ...FOR HELP PCI AC51 User s Guide 4 ...
Страница 30: ...SPECIAL PRECAUTIONS FOR THE SOFTWARE DEVELOPER PCI AC51 User s Guide 26 ...
Страница 34: ...ERROR CODES FOR WINDOWS 2000 XP PCI AC51 User s Guide 30 ...
Страница 38: ...LEDS PCI AC51 User s Guide 34 ...
Страница 40: ...CONVERTING APPLICATIONS THAT USE INP AND OUTP PCI AC51 User s Guide 36 ...