FIX: "Incompatible version of the RPC stub" error when you call ATL COM module in WEC 2013

This article describes an issue that triggers an "Incompatible version of the RPC stub" error when an ATL COM module routine is called in Windows Embedded Compact 2013. An update is available to resolve this issue. Before you install this update, all previously issued updates for this product must be installed.


When you call an ATL COM module in your application on a device that's running Windows Embedded Compact 2013, you receive the following error message:
Error code
HRESULT: 0x80070725, Incompatible version of the RPC stub.

Software update information

Download information

Windows Embedded Compact 2013 Monthly Update (July 2016) is now available from Microsoft. To download this Windows Embedded Compact 2013 monthly update, go to Microsoft OEM Online or MyOEM.


This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.

Article ID: 3181244 - Last Review: Aug 9, 2016 - Revision: 1