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 Rtt32dll.dll
Rtt32dll.dll is a preconfigured module in RTTarget-32's Bin directory. It exports RTTarget-32's native API as well as RTTarget-32's Win32 API emulation. To use Rtt32dll.dll, the corresponding import library Rtt32dll.lib can be linked. Please note that import library Rtt32dll.lib does not contain import records for the Win32 emulation. The linker will resolve such calls against the Win32 import library supplied with the compiler (e.g., Import32.lib, Kernel32.lib, or unit Windows for Delphi). If Rtt32dll.dll is used, #define RTT32DLL must be included in the source files immediately before #include <rttarget.h>.
Rtt32dll.dll contains all functions provided by RTTarget-32, even those which might never be used by the application. Thus, linking Rtt32.lib instead of using Rtt32dll.dll may result in smaller applications.
Example program DLLDemo shows how to use Rtt32dll.dll.
Using DLLs through RTLoc
Linking Rtt32.lib into the EXE
|