Creating a Common Container for a Custom Transport
Custom Kitl AppWizard (CustomKitl.awx) is a template for Microsoft Visual C++ 6.0 or later. CustomKitl.awx creates a common container for any custom KITL transport. The common container is a Component Object Model (COM) dynamic-link library (DLL) for the transport. Platform Manager recognizes this COM DLL.
You can find the CustomKitl.awx file in the Sdk\Wce420\Wizards directory in the top-level directory for Platform Manager. To use the template, copy the CustomKitl.awx file to the Microsoft Visual Studio\Common\MSDev98\Bin\IDE directory. You can then run Visual C++ and use the template.
To create a common container for a custom KITL transport
Install Visual C++ 6.0 or later, and then run Visual C++.
From the File menu, choose New.
Choose the Projects tab.
In the list, choose Custom Kitl AppWizard.
In the Project name box, type a name for the project.
In the Location box, type the path for the project.
Be sure the directory you enter in the Location box does not already exist.
Choose OK.
In the Kernel transport library box, type the name of the transport library that your custom transport uses.
If your transport uses the KITL Ethernet library, type EthTran.dll. If your transport uses the KITL Serial library, type SerTran.dll. If your transport uses a custom transport library, type the name of the custom library.
In the Property GUID box, type the globally unique identifier (GUID) for the location where the transport properties are stored.
You may choose any unique GUID.
In the Kernel transport name box, type a name for your transport in the exact format you want the name to appear in the Configure Remote Connection dialog box in Platform Builder.
To view the Configure Remote Connection dialog box, choose Configure Remote Connection from the Target menu in Platform Builder.
In the Additional Project Include Paths box, enter the paths for the Cemgr.h, Kitl.h, KitlClnt.h, KitlTran.h, and Kitldll.lib files.
The Cemgr.h, Kitl.h, KitlClnt.h, and KitlTran.h files are located in the Sdk\Wce420\Platman\Include directory in the top-level Platman directory for Platform Manager. The Kitldll.lib file is located in the Sdk\Wce420\Platman\Lib\Dsktop directory in the top-level Platman directory.
Choose OK.
Compile your project for a debug or release build.
Copy the KITL engine (Kitldll.dll) to the Debug or Release directory in the directory you typed in the Location box.
The Kitldll.dll file is located in the Bin directory in the top-level Platman directory for Platform Manager.
If your transport uses a custom transport library, copy the library to the Debug or Release directory in the directory you typed in the Location box.
See Also
Addition of a Custom Transport to the Configure Remote Connection Dialog Box
Last updated on Friday, October 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.