![Symmetricom bc635PCI-V2 User Manual Download Page 122](http://html.mh-extra.com/html/symmetricom/bc635pci-v2/bc635pci-v2_user-manual_1419591122.webp)
3.3. Installation
Configuration
Directory structures are created in the specified installation location. These structures contain all
required files to develop Windows XP and newer Windows platform based user applications.
Test installation
You can use either Microsoft Visual C++ 6.0 or Microsoft Visual Studio 2008 to test the installation.
Use Microsoft Visual C++ 6.0 to open the workspace “BC635PCI SDK EXAMPLES.dsw” in the
“Example Programs” directory under the installation location. Select “Rebuild All” in the Visual C++
6.0 IDE to build all the sample programs. You can select the program you want to run from the Visual
C++ 6.0 IDE by making that project as the active project. The bc635cpp project contains all source
code for the bc635PCIcfg.exe program. The bc637pci project contains all the source code for the
bc637PCIcfg.exe program. The TrayTimeCpp project contains all the source code the TrayTime.exe
program.
Use Microsoft Visual Studio 2008 to open the solution “BC635PCI SDK EXAMPLES_2008.sln” in the
“Example Programs” directory under the installation location. You can select to build Win32 or x64
sample programs. Make your choice and select “Rebuild All” in the IDE to build all the sample pro-
grams. Please note that 64-bit TrayTime.exe will not link due to the lack of 64-bit ‘TrueTimeSDK.lib’.
If you want to test 64-bit sample programs, you also must make sure the 64-bit BC637PCI.DLL is cop-
ied to the respective Windows system directory.
If a device open error is returned, the hardware interface was not installed or configured properly. Ver-
ify that the correct driver was installed according to the guidelines in the “bc635PCI-V2, bc637PCI-V2
Users Guide”.
Project creation
Microsoft Visual C++ 6.0
If you want to use BC637PCI.dll in your own project, you may follow the instructions below:
1. Update your project setting - C++ preprocessors “Additional include directories” to include the direc-
tory where bc637pci.h and bc_int.h can be found. They are in the “Include” directory under the SDK
installation directory.
2. Update your project setting - Link's “Additional library path” to include the directory where
BC637PCI.lib can be found. They are in the “Lib\Win32” directory under the SDK installation direc-
tory. Add BC637PCI.lib to the “Object/library modules” list.
3. If building a new project similar to TrayTimeCpp, you may need to change the project settings:
a. For both debug version and release version, go to "C/C++" tab, select "Precompiled Head-
ers" category and then check "Not using precompiled headers" button. Next, go to the Link
tab, select "General category" and add "ws2_32.lib" to "Object/Library Module" edit box.
b. For release version, Link tab, select "Customize" category and then check "Force File Out-
put" box.
4. Copy the shared DLL BC637PCI.DLL to the system directory and make sure install the
“SymmBCPCI.sys” driver.Microsoft Visual Studio 2008.
- 105 -
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com