Instruction manual

AMPDIO DRIVERS
Page 61
The DIO_TC.vcproj file can also be used to build DIO_TC.DLL using the free Microsoft Visual C++
2005 “Express” edition, but it will also be necessary to obtain and install “Microsoft Platform SDK”
and configure the directories in the “Projects and Solutions” section in the “Options” dialog in Visual
C++ Express. In that section the following paths should be added to the appropriate subsections:
 Executable files: C:\Program Files\Microsoft SDK\Bin
 Include files: C:\Program Files\Microsoft SDK\include
 Library files: C:\Program Files\Microsoft SDK\Lib
(The above paths need to be changed if the Platform SDK has been installed somewhere else.)
These options are global, not part of a specific project, so they only need to be configured once.
For AMPDIO versions up to 4.46, the DIO_TC.DLL file is built in the “Release” or “Debug”
subdirectory (according to the selected build configuration), along with the DLL export library,
DIO_TC.LIB. For AMPDIO version 5.00, these have been changed to “Win32\Release” and
“Win32\Debug” for the 32-bit version of DIO_TC.DLL, with the x64 version being built in
“x64\Release” or “x64\Debug”. The examples in the “EX_C\” directory expect to find DIO_TC.LIB in
the “DIO_CODE\ directory (“DIO_CODE\Win32” or “DIO_CODE\x64” for AMPDIO v5.00 and
later), so it will be necessary to copy the file there from the Release” or “Debug” subdirectory if
significant changes have been made. The newly built DIO_TC.DLL should be copied to the correct
Windows system directory. For Windows 95, 98 or ME, this is the “system” directory. For Windows
NT, Windows 2000 and 32-bit versions of Windows XP, Windows Vista, Windows 7 and Windows
Server 2003, this is the “system32” directory. For x64” editions of Windows XP, Windows Vista,
Windows 7, Windows Server 2003 and Windows Server 2008, the “x64” build of DIO_TC.DLL goes
in the system32” directory and the 32-bit “Win32” build of DIO_TC.DLL goes in the SysWoW64”
directory (this may seem the opposite of what one might expect!).
Up to AMPDIO v4.46, the shipped version of DIO_TC.DLL and DIO_TC.LIB were built with
Microsoft Visual C++ 4.2. From AMPDIO v5.00 onwards, the shipped “Win32” version of
DIO_TC.DLL was built with Microsoft Visual C++ 6.0, but the corresponding DIO_TC.LIB was still
built with Visual C++ 4.2 for backwards compatibility. The shipped “x64” versions of DIO_TC.DLL
and DIO_TC.LIB were built with Microsoft Visual Studio 2005.
The “Readme.TXT” file in the “DIO_CODE\directory describes changes made in each version of
DIO_TC.DLL and describes each function in the DLL. The function descriptions are also in section
6.4 of this document.
The ADIOCTL.RTF file documents the low-level IOCTL interface to the driver. Under most
circumstances, it is recommended that the more user-friendly DLL interface be used.
4.9 SYS_DLLS
This directory contains Microsoft Visual Basic and Visual C system DLLs that may be required to
run the examples. Under normal circumstances, these DLLs will have already been installed onto
your system. If you experience difficulties running the examples, follow the instructions in the
‘README_DLL.TXT’ file found in the ‘SYS_DLLS’ directory.
For AMPDIO v5.00 and later, the required system DLLs and other run-time files needed to run the
example programs are automatically installed, so the SYS_DLLS directory is no longer installed.