Rtdll

Description

This example program demonstrates how to use an RTDLL in an RTSS Process. It uses library functionality to provide an application similar to the DLL sample.

Source Files

The Rtdll example includes two projects:

Build the Project

Run the Project

  1. Execute using Rtdll as an RTSS executable.
  2. Make sure sampleRtdll.rtdll is both registered and in the same folder as UsingRtdll.rtss. To Register a DLL, use the command line rtssrun /d <filename>.

Remarks

The sample RTDLL must be registered with the RTX subsystem before it can be debugged. This can be done by typing:

rtssrun.exe /d /f sampleRtdll.rtdll

APIs Referenced

RTAPI

Win32 APIs

RtCreateTimer

RtDeleteTimer

RtEnablePortIo

RtReadPortUchar

RtSetTimerRelative

RtWritePortUchar

FreeLibrary

GetProcAddress

LoadLibrary

 

IntervalZero.com | Support | Give Feedback