Products for USB Sensing and Control
When you're building a project from scratch or adding Phidget code to an existing project, you need to properly link the Phidget .NET library.
Create a new project (a Console Application will be created for this example):
Next, right-click on References in the solution explorer and choose Add Reference.
On the following screen, click Browse... and navigate to the location of Phidget22.NET.dll:
C:\Program Files\Phidgets\Phidget22\Phidget22.NET.dll
Finally, to include the Phidget .NET library, add the following lines to main window class file:
using Phidget22; using Phidget22.Events;
Success! The project now has access to Phidgets.
Now that you've set up Phidgets in your programming environment, you should read our guide on Phidget Programming Basics to learn the fundamentals of programming with Phidgets.