https://github.com/forderud/windowsrpcsample
Windows local RPC sample
https://github.com/forderud/windowsrpcsample
rpc win32
Last synced: 8 months ago
JSON representation
Windows local RPC sample
- Host: GitHub
- URL: https://github.com/forderud/windowsrpcsample
- Owner: forderud
- License: mit
- Created: 2025-08-14T08:30:44.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-08-14T14:31:35.000Z (8 months ago)
- Last Synced: 2025-08-14T14:34:41.671Z (8 months ago)
- Topics: rpc, win32
- Language: C++
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Sample Windows RPC code. Demonstrates how to perform Remote Procedure Calls (RPC) to call functions across process boundaries.
Using the [`ncalrpc`](https://learn.microsoft.com/en-us/windows/win32/midl/ncalrpc) (ALPC) transport, which is the same as COM uses for inter-process calls.
[Process Explorer](https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer) can be used to inspect the RPC ports exposed by the server:

## Acknowledgement
Based on the Microsoft [RPC Tutorial](https://learn.microsoft.com/en-us/windows/win32/rpc/tutorial) with MicrosoftDocs [#2096](https://github.com/MicrosoftDocs/win32/pull/2096) and [#2097](https://github.com/MicrosoftDocs/win32/pull/2097) fixes.