RTDLL Sample
Description
This example program demonstrates how to use an RTDLL in a Real-time Process.
Source Files
| File | Description |
|---|---|
| SampleRtDll_<Visual Studio version>.vcxproj | Builds SampleRtdll.edll which is an RTDLL that contains the function "Toggle" which toggles the state of the speaker. |
| ExplicitLoadRtdll_<Visual Studio version>.vcproj | Builds ExplicitLoadRtdll.c that loads an RTDLL, calls an RTDLL function, and then frees the RTDLL. |
| ImplicitLoadRtdll_<Visual Studio version>.vcproj | Builds ImplicitLinkdll.c. This is compiled with where in the project settings the .edllis linked in, then through an import command we define the toggle function and run the toggle through the process we just called. |
| explicitlyUsingRtdll.c | |
| implicitlyUsingRtdll.c | |
| sampleRtdll.c |
APIs Referenced
RTAPI
Win32 APIs