In accordance with methods and systems consistent with the present
invention, a system that automatically generates 32-bit to 64 bit
interfaces to 64-bit code is provided. These interfaces provide for the
use of optional parameters and, because they are written in 64-bit code,
also allow for parameter checking. These interfaces are automatically
generated to allow a programmer to maintain compatibility with 64-bit
libraries from 32-bit source code.