SAP Knowledge Base Article - Preview

3107922 - Desktop Studio - Unhandled Dispatcher Error

Symptom

During a capture on Windows server the following error message appears:

Unable to find an entry point named 'GetDpiForWindow' in DLL 'user32.dll'.

System.EntryPointNotFoundException

Message:
Unable to find an entry point named 'GetDpiForWindow' in DLL 'user32.dll'.

Stack Trace:
   at CxInterface.WindowsDesktopHelper.GetDpiForWindow(IntPtr hWnd)
   at CxInterface.WindowsDesktopHelper.GetPrintWindowScalingFactor(IntPtr windowHandle)
   at CxInterface.WindowsDesktopHelper.PrintWindow(IntPtr hwnd, Rectangle oWindowRect, PixelFormat ePixelFormat, Bitmap& bmp, SizeF& oPrintWindowRatio)
   at CxInterface.ScreenShot.CaptureElemImage(ICxProvider oElement, PixelFormat ePixelFormat)
   at CxUIADriver.UIAPageProvider.CaptureElemImage()
   at CxInterface.ScreenShot.CapturePartImagePage(ICxPageProvider oProvider, Boolean bPrintWindow, Boolean bBringToTop, PixelFormat ePixelFormat)
   at CxInterface.ScreenShot.CaptureFullImagePage(ICxPageProvider oProvider, Boolean bScroll, Boolean bPrintWindow, Boolean bBringToTop, Int32 iMaxHeight, PixelFormat ePixelFormat)
   at CxFrameworkWPF.AddCapturePageViewModel.<>c_DisplayClass254_1.<ExecuteCapturePage>b_1()
   at CxInterface.ThreadHelper.<>c_DisplayClass9_0.<ExecuteOnUIThread>b_0(Object notUsed)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

TargetSite:
Int32 GetDpiForWindow(IntPtr)

Source:
CxInterface

HResult:
-2146233053


Read more...

Environment

SAP Intelligent RPA Desktop Studio on Windows Server

Product

SAP Intelligent Robotic Process Automation all versions

Keywords

Windows Server, Intelligent RPA, IRPA, Unhandled Dispatcher Error, Unable to find an entry point named , user32.dll, dll, EntryPointNotFoundException , KBA , CA-ML-IPA , IPA , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.