Per-Process Private Data (Pppd)

Description

The Pppd sample is an RTDLL sample that creates Per-Process Private Data within the RTDLL.

Source Files

The Pppd example includes three projects:

Remarks

The rtdllexample.rtdll must be loaded first. This is done in two steps:

  1. rtssrun /d /s RtdllExample.rtss
  2. rtssrun LoadRtdll.rtss

The first steps registers the rtdll. The second step loads it. A user starts the test with

rtssrun TestRtdll.rtss

It is started again after few seconds. This causes two rtss processes to run simultaneously. The test runs for 30 seconds, and prints incrementing counter for each process.

NOTE:  This sample can be run by using the batch file testrtdll.bat.

APIs Referenced

Win32 APIs

Freelibrary

LoadLibrary

 

IntervalZero.com | Support | Give Feedback