The information in this article applies to:
SUMMARYThis article explains how to create Microsoft Exchange templates and which files are needed to create the templates. The files needed are Unicode text file (WTX), Compiled WTX/Binary Display Table (BLT), Binary file to process the different OP codes (SCR), and help (HLP). MORE INFORMATION
The WTX file is a plain Unicode text file. To create this text file, use
the Save As feature in Notepad, and select the Unicode format. This file is
similar to the old TPL file. Its format allows you to control where the
various fields are positioned on the screen, as well as the behavior of the
input fields, for example, default value, read-only, required, etc. All of
the op-codes are found on the Microsoft Exchange SDK.
-or- Once the WTX is complete, you need to compile it with a tool included in the SDK. This tool is called Template.exe. It takes the WTX file as input and outputs a BLT file. Now you can verify the location of the different fields by importing the file into the one-off address container. Create a CSV similar to this one and use the directory import tool to bring it into exchange.
After you verify the field positioning, etc., you are now ready to create a binary file that will control how the various fields will be processed. The SDK suggests using DEBUG for this task. However, Dev Studio is a better choice, specially if you plan to make any editing changes. In most cases you take the information entered by the user and concatenate it into a single address line. For example, in Microsoft Mail for PC Networks, you would take the network name, postoffice name, and the user ID and concatenate them using '/' to separate the various parts of the address. Within this binary file you need to specify an offset to locate the various text characters that are inserted when completing the address. It is easier to use locate all this type of text fields at the beginning of the file instead of at the end, so your offsets do not keep changing. In order to make this work you need to put a JMP operand (00 00 00 03) as the first instruction and indicate the offset of where the program starts. If you run debug or Dev Studio, you will notice that the actual program does not start until 6A (hex).
Additional query words:
Keywords : kbusage XADM |
Last Reviewed: March 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |