Compiling Translated Resource Files Using MAKEALTL.BAT
The MAKEALTL.BAT file calls the Microsoft Visual C++ Resource Compiler and Linker to compile translated resources into a Windows DLL. Before running MAKEALTL.BAT, ensure that the environment variables required by the Resource Compiler and Linker are set correctly in your current DOS window. This table describes and shows an example of these environment variables:
| Environment Variable | Description | Example |
|---|---|---|
|
%path% |
Must include the Microsoft Visual C++ executables directory. |
C:\MSDEV\BIN |
|
%include% |
Must include the Microsoft Visual C++ INC directory and the Microsoft Foundation Classes (MFC) BIN directory. It must also include a copy of the PeopleTools resource include directory. |
C:\MSDEV\INC C:\MSDEV\MFC\INC C:\PT850\SRC\RES\ENG\INC |
|
%lib% |
Must include the Microsoft Visual C++ library directory. |
C:\MSDEV\LIB |
|
%toolbin% |
Must point to the directory containing the PeopleTools executables. |
C:\PT850\BIN\CLIENT\WINX86 |
For customer builds, the PS_HOME variable must be set. For internal builds, the PSVER variable must be set.
For customer builds, another option is to SET CUSTOMER_BUILD=NO and set the PSVER variable.
Once you have verified that the variables in the table above are correct, you can run MAKEALTL.BAT.
To run MAKEALTL.BAT:
-
In a DOS window, go to the SRC\RES directory.
-
Run the MAKEALTL batch file with language and PeopleTools_module parameters.
This process compiles the resources into language-specific DLLs and copies the files to your PeopleTools executables directory.
The syntax of the command is as follows:
MAKEALTL language PeopleTools_module
-
language is the three-letter code for the language that you are compiling (such as QUE).
-
PeopleTools_module is the name of the directory that contains the resource files that you have translated (such as PSSYS).
Pass ALL in place of the directory name to compile all PeopleTools modules in the language that you specified.