Partager via


Building a Tux DLL with Platform Builder

A Tux DLL is a module that defines the characteristics of a test for the CETK. For information about functions, messages, and structures that you can include in a Tux DLL, see Tux Test Module Reference.

You can build a Tux DLL using Platform Builder. You can also build a Tux DLL from the command line. For information about building a Tux DLL from the command line, see Building a Tux DLL From the Command Line.

To build a Tux DLL using Platform Builder, you must first prepare a platform in which to create a project for the Tux DLL.

To prepare a platform for the Tux DLL

  1. From the File menu, choose New Platform, and then create a new platform with the New Platform Wizard.
  2. From the Build menu, choose Build Platform.

After preparing a platform, you can create a project for the Tux DLL.

To create a project for the Tux DLL

  1. From the File menu, choose New Project or File.

  2. Choose the Projects tab, and then select WCE TUX Dynamic-Link Library.

  3. In the Project name box, type a name for the project.

    For example, in the Project name box, type TuxDll.

  4. Choose OK, and then choose Finish.

After completing the wizard, you can build a sample Tux DLL from this framework. You can alternatively add your own code and then build the project to create a custom test for the CETK.

You can use Platform Builder to build the Tux DLL.

To build the Tux DLL

  • From the Build menu, choose Build <Project name>.dll.

    In this example, choose Build TuxDll.dll.

After you build the Tux DLL, you can add the test to the CETK. For information about adding the Tux DLL to the CETK, see Adding a Custom Test to the CETK.

See Also

How to Use the CETK to Test a Driver | Tux Test Harness

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.