Create an API Project
Each task in this guide requires a new Visual Studio 2005 project that's configured to use the application program interface.
To create an API project
- Install Reflection 2008 or the Reflection 2008 API.
- Create a root-level folder for your API projects (for example C:\MyProjects).
- In Visual Studio 2005, choose File > New > Project.
- Under Project types, expand Visual C# and select Windows, and under Templates, select Console Application.
- Type Get Started in the Name box.
- Select the Create directory for solution box, click Browse to select your API projects folder (for example, C:\MyProjects), and then click OK.
- In the Solution Explorer pane, right-click the References node, and choose Add Reference.
- On the .NET tab, Shift-select all of the available class assemblies, and then click OK:
Note: Reflection 2008 Standard Suite includes four class assemblies. Other versions of Reflection 2008 may include fewer class assemblies.
Attachmate.Reflection
Attachmate.Reflection.Emulation.IbmHosts
Attachmate.Reflection.Emulation.OpenSystems
Attachmate.Reflection.Framework
- If you intend to run your custom applications on a 64-bit operating system, specify 32 bits for all of your Reflection applications before you build them. With the Get Started project selected in the Solution Explorer pane, from the Project menu, choose Properties. Click the Build tab, and under General, click the Platform Target drop-down menu and select x86.
The project is now ready for you to build and test a sample program.
|