PWB Extensions Help (ext.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Building PWB Extensions
                                             ◄Up► ◄Contents► ◄Index► ◄Back►
─────PWB Extensions─────────────────────────────────────────────────────────
 
     To create a PWB extension in C, make sure you have the required files.
     See: ◄Required Files►
 
     To build an extension with PWB:
 
       1. Create a project using the DOS PWB Extension template and your
          extension source files. This template automatically specifies
          the other required files.
 
       2. Choose Build from the Project menu to create the extension.
 
     To build an extension from the command line:
 
       1. Compile with the following compiler command:
 
               CL /c /Gs /ACw myext.c
 
       2. Link with the linker command:
 
               LINK /NOI exthdr myext, myext.mxt;
 
     Additional variations on memory models and compiler options can be
     used once you understand the requirements for a PWB extension.
     See: ◄Compiling and Linking Extensions►
 
     Note that you cannot debug extensions using the CodeView debugger.
                                    -♦-