File:  [OS/2 SDKs] / pmsdk / samples / newcard / readme.doc
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1988, HEAD
Microsoft OS/2 SDK PM 08-08-1988


Cardfile translation notes:

   Included with the documentation should be a section giving an overview
and explanation of the translation system.



   PM Version:

   In order to compile the PM version of cardfile, the following conditions
must be true:

 - The cardfile application must be in the directory PMSDK\SAMPLES\NEWCARD

 - The PM development tools, libs, and .h files must be in the directories
   lib, bin, and include off of the directory PMSDK

 - Masm must be on the path.

   The setup program should use this directory structure as the default.
If these two conditions do not hold, the command file 'mpm.cmd' will need
modification.

   In order to compile the PM version, use the command file 'mpm.cmd'.	This
invokes the makefile in the 'pmcard' directory, compiling the source code
into object and executable files in the 'pmcard' directory.  The makefile
for the PM version directs all error messages into error files located in
the pmcard directory.

   The acceptable compiler warnings for the PM version are:

      o unreferenced [anything]

      o data conversion

   The warnings concerning unreferenced items are unavoidable using the 
present scheme for shared Windows and PM code.  Some of the parameters
used for the Windows part are not needed in the PM part.  To break apart
the variables in the code which are needed for only for Windows would 
raise the translation time signifcantly and would also make it harder to
modify the code.

   The warnings concerning data conversion have for the most part been 
eradicated, however, there are a few cases where these warnings still
occur.  In the future, these should be wiped out completely.



   Windows Version:

   The batch used to compile the windows version is 'mwin.bat'.  This 
invokes the makefile in 'wincard' directory.  The following conditions
must hold for using this batch file:

 - The windows development, include, and library files must be in 
   directories lib, inc, and bin off of the main directory WINDOWS.

 - The C compiler 4.0 must be in the directory MSC, with the libriaries 
   and include files for the SMALL memory model in the directories bin and
   include off of MSC.

 - Masm must be on the path.

   The acceptable warnings for the Windows version are the same as those
for the PM version.




unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.