18.07.2013 Views

Series 3000 Application Programmer's Guide

Series 3000 Application Programmer's Guide

Series 3000 Application Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1-8<br />

<strong>Series</strong> <strong>3000</strong> <strong>Application</strong> Programmer’s <strong>Guide</strong><br />

These changes are required before you run MODALLV.BAT (refer to the<br />

Running MODALLV.BAT section, below, in this chapter).<br />

Modifying C Libraries<br />

You may wish to create modified versions of the Microsoft Visual C++ runtime<br />

libraries that are compatible with the <strong>Series</strong> <strong>3000</strong> terminals. Only the modified<br />

versions of these libraries can be downloaded to and made resident in <strong>Series</strong><br />

<strong>3000</strong> terminals.<br />

The file MODALLV.BAT is provided to create modified Microsoft Visual C++<br />

libraries and stores them by default in the c:\<strong>3000</strong>\VLIB\LIBRS and<br />

c:\<strong>3000</strong>\LIB\LIBRS directories (see Figure 1-1). Before executing<br />

MODALLV.BAT, your computer’s environment variables must have been<br />

modified as described above in the Update AUTOEXEC.BAT section.<br />

The following Microsoft libraries must also be present before running<br />

the MODALLV.BAT files<br />

SLIBCx.LIB<br />

MLIBCx.LIB<br />

where x=E, A and/or 7<br />

Running MODALLV.BAT<br />

To execute the MODALLV.BAT file, assuming Microsoft Visual C++ and the<br />

ADK are installed in their default directories, issue this command:<br />

MODALLV.BAT C:\msvc\lib C:\<strong>3000</strong>\vlib<br />

This command creates the modified libraries for small and medium memory<br />

models and places the standard library files in the directory \<strong>3000</strong>\vlib and the<br />

split-resident library files in the directory \<strong>3000</strong>\vlib\librs.<br />

In order for the Microsoft Linker to find these modified libraries instead of the<br />

standard libraries, make sure that the directory C:\<strong>3000</strong>\vlib precedes<br />

C:\msvc\lib in your development PC’s AUTOEXEC.BAT file.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!