Home |
RTTarget-32 Programming Manual Running Win32 Programs without Win32 Running a Program on the Target Running Demos with Command Line Tools Running Demos in Microsoft Visual Studio Running Demos in the Borland Delphi IDE Using a Standard PC as a Target Using a Standard PC as a Target for GUI Demos Using the AMD Élan SC400 Evaluation Board Using the AMD Élan SC520 Evaluation Board Using the RTOS32Win Virtual Target Using the Real-Time Hypervisor Target Program SysDemo Compiling and Linking with On Time RTOS-32 |
Program SysDemoSysDemo shows how a System DLL can be constructed to minimize download times, in particular for programs using several On Time RTOS-32 components. The demo builds a System DLL only with those Win32 and native API functions actually called by the application. The main program then uses this DLL instead of linking the On Time RTOS-32 libraries. Since the System DLL will rarely change, it will usually not be re-downloaded, even if the much smaller program .EXE file has been modified. The Borland version of this demo even places the C/C++ run-time system into the System DLL, resulting in a very small .EXE file size. However, file RTL.TXT must be maintained manually with a list of all run-time system functions available for the .EXE. This demo uses four On Time RTOS-32 components (RTTarget-32, RTKernel-32, RTFiles-32, and RTPEG-32), but removing unneeded components is easily accomplished by removing the respective libraries and API files from the make file or project file.
|