INtime requires some specific project settings in Microsoft Visual Studio for the production of an INtime executable program. The following traverses sequentially through the Project Settings elements, first in the Compiler page, then the Linker page (settings that are not specific for INtime are omitted).
Win32 defines its own exception codes, which can overlap with INtime numbers. Fortunately, both environments define zero as 'no error'. The INtime kernel stores only 16 bits which is sufficient for the basic Win32 exception codes (only COM and some other Win32 subsystems need more bits).
Hardware exceptions have different exception codes in the two environments. The following translation is applied to hardware exceptions (this is only relevant for Structured Exception Handling and C++ exception handling):
EH_ZERO_DIVIDE EH_SINGLE_STEP EH_NMI EH_DEBUG_TRAP EH_OVERFLOW EH_ARRAY_BOUNDS EH_INVALID_OPCODE EH_DEVICE_NOT_PRESENT EH_DOUBLE_FAULT EH_DEVICE_ERROR EH_INVALID_TSS EH_SEGMENT_NOT_PRESENT EH_STACK_FAULT EH_GENERAL_PROTECTION EH_PAGE_FAULT EH_DEVICE_ERROR1 EH_ALIGNMENT_CHECK |
EXCEPTION_INT_DIVIDE_BY_ZERO EXCEPTION_SINGLE_STEP EXCEPTION_ILLEGAL_INSTRUCTION EXCEPTION_BREAKPOINT EXCEPTION_INT_OVERFLOW EXCEPTION_ARRAY_BOUNDS_EXCEEDED EXCEPTION_ILLEGAL_INSTRUCTION EXCEPTION_ILLEGAL_INSTRUCTION EXCEPTION_ILLEGAL_INSTRUCTION EXCEPTION_ILLEGAL_INSTRUCTION EXCEPTION_ILLEGAL_INSTRUCTION EXCEPTION_ACCESS_VIOLATION EXCEPTION_STACK_OVERFLOW EXCEPTION_ACCESS_VIOLATION EXCEPTION_ACCESS_VIOLATION EXCEPTION_ILLEGAL_INSTRUCTION EXCEPTION_DATATYPE_MISALIGNMENT |