Consider the following scenario:
- You have a computer that is running Windows Vista or Windows Server 2008.
- You use some remote procedure calls (RPC) to send data between an RPC client and an RPC server.
- Some callback functions are called between the RPC client and the RPC server.
In this scenario, an access violation exception occurs in the NdrClientCall2 function on the RPC client. This access violation exception may cause data loss. Additionally, the memory usage of the RPC client keeps increasing.