On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTTarget-32 Programming Manual
Introduction
Running Win32 Programs without Win32
The i386 Microprocessor
RTLoc: Locating a Program
Running a Program on the Target
Cross Debugging
Using an IDE
The RTTarget-32 API
Demo Programs
Advanced Topics
Choosing a Locate Method
Running with or without Paging
Running at CPL 0 or 3
Installing Hardware Interrupt Handlers
Catching NULL Pointer Assignments
Catching Stack Overflows
Running without Run-Time System
Avoid Repeated Downloads
Configuration for Debug and Release Builds
Using Data Compression
Using DLLs through RTLoc
Using Rtt32dll.dll
Linking Rtt32.lib into the EXE
Using a Custom System DLL
Utility MakeDef
Differences from Win32
Using Microsoft Run-Time System DLLs
Loading DLLs through a File System
RAM File System
Installable File System
Multithread Applications
Using the MetaWINDOW Graphics Library
Using the 387 Emulator
Using Non-Volatile Memory
APIC Mode
Multiprocessor Applications
Custom MP Floating Pointer Structure
RTVmf-32
RTRth-32
Performance Optimizations
Compiling and Linking with On Time RTOS-32
Redistributable Components of RTTarget-32
RTLoc Error Messages
RTTarget-32 Reference Manual
RTKernel-32
RTFiles-32
RTIP-32
RTPEG-32
RTUSB-32
|
Using a Custom System DLL
A mixture of the two strategies described above is to create a custom DLL containing RTTarget-32's API. You can create an application specific DLL which contains a subset of Rtt32dll.dll. This method avoids linking code which is never used. On the other hand, it also requires maintaining a custom DEF file for those functions which are required, or using MakeDef.
Example programs DLLDemo3 and SysDemo shows how to create and use an application specific RTTarget-32 system DLL.
Using DLLs through RTLoc
Linking Rtt32.lib into the EXE
Utility MakeDef
|