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 Microsoft Run-Time System DLLs
Applications using the Microsoft run-time system DLLs should use the following structure:
- A custom system DLL should be used. The system DLL must be linked with the DLL run-time system.
- The system DLL as well as all required run-time system DLLs should be located through the application's config file. The run-time system DLLs must be listed in DLL commands first, before the system DLL.
- If the Microsoft Visual C++ 6.0 run-time systems is used (file Msvcrt.dll), the application must set the OS version information to the values expected by Msvcrt.dll. This must be done in an Init function. Please see function RTSetVersionExA for details.
- The initialization of some Microsoft run-time system DLLs requires a lot of stack space. At least 64k Stack space is recommended.
Demo program Msvccrt shows how the Microsoft run-time system DLLs can be used.
Using DLLs through RTLoc
Differences from Win32
|