Page 1 of 1

want launch -> penimc.dll

Posted: Mon Aug 14, 2017 2:21 pm
by zaph
hope somebody can point me the right direction to get Display Driver Uninstaller to run!?
on my windows 8.1 box I'll get following error in the log-file after an unsuccessful launch:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<DisplayDriverUninstaller Version="17.0.7.2">
	<LogEntries>
		<Error>
			<Time>8/14/2017 8:09:46 PM</Time>
			<Message>Some part of application startup failed!
&gt;&gt; Application_Startup()</Message>
			<ExceptionData>
				<Message>Unable to load DLL 'penimc.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)</Message>
				<TargetSite>CreateResetEvent</TargetSite>
				<Source>PresentationCore</Source>
				<StackTrace>   at MS.Win32.Penimc.UnsafeNativeMethods.CreateResetEvent(IntPtr&amp; handle)
   at System.Windows.Input.PenThreadWorker..ctor()
   at System.Windows.Input.PenThreadPool.GetPenThreadForPenContextHelper(PenContext penContext)
   at System.Windows.Input.StylusWisp.WispTabletDeviceCollection.UpdateTabletsImpl()
   at System.Windows.Input.StylusWisp.WispTabletDeviceCollection.UpdateTablets()
   at System.Windows.Input.StylusWisp.WispTabletDeviceCollection..ctor()
   at System.Windows.Input.StylusWisp.WispLogic.get_WispTabletDevices()
   at System.Windows.Input.StylusWisp.WispLogic.RegisterHwndForInput(InputManager inputManager, PresentationSource inputSource)
   at System.Windows.Interop.HwndStylusInputProvider..ctor(HwndSource source)
   at System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.ShowDialog()
   at Display_Driver_Uninstaller.Application.LaunchAsSystem() in C:\Users\Ghislain Harvey\OneDrive\Documents\Programmation\wpf\display-drivers-uninstaller\display-driver-uninstaller\Display Driver Uninstaller\Application.xaml.vb:line 697
   at Display_Driver_Uninstaller.Application.Application_Startup(Object sender, StartupEventArgs e) in C:\Users\Ghislain Harvey\OneDrive\Documents\Programmation\wpf\display-drivers-uninstaller\display-driver-uninstaller\Display Driver Uninstaller\Application.xaml.vb:line 432</StackTrace>
			</ExceptionData>
		</Error>
found that the penimc.dll is related to support tablet-computer?
anyway ... BIG thanks in advance to get the wonderful Display Driver Uninstaller up&running!!!

Re: want launch -> penimc.dll

Posted: Mon Aug 14, 2017 2:39 pm
by Wagnard
zaph wrote: Mon Aug 14, 2017 2:21 pm hope somebody can point me the right direction to get Display Driver Uninstaller to run!?
on my windows 8.1 box I'll get following error in the log-file after an unsuccessful launch:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<DisplayDriverUninstaller Version="17.0.7.2">
	<LogEntries>
		<Error>
			<Time>8/14/2017 8:09:46 PM</Time>
			<Message>Some part of application startup failed!
&gt;&gt; Application_Startup()</Message>
			<ExceptionData>
				<Message>Unable to load DLL 'penimc.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)</Message>
				<TargetSite>CreateResetEvent</TargetSite>
				<Source>PresentationCore</Source>
				<StackTrace>   at MS.Win32.Penimc.UnsafeNativeMethods.CreateResetEvent(IntPtr&amp; handle)
   at System.Windows.Input.PenThreadWorker..ctor()
   at System.Windows.Input.PenThreadPool.GetPenThreadForPenContextHelper(PenContext penContext)
   at System.Windows.Input.StylusWisp.WispTabletDeviceCollection.UpdateTabletsImpl()
   at System.Windows.Input.StylusWisp.WispTabletDeviceCollection.UpdateTablets()
   at System.Windows.Input.StylusWisp.WispTabletDeviceCollection..ctor()
   at System.Windows.Input.StylusWisp.WispLogic.get_WispTabletDevices()
   at System.Windows.Input.StylusWisp.WispLogic.RegisterHwndForInput(InputManager inputManager, PresentationSource inputSource)
   at System.Windows.Interop.HwndStylusInputProvider..ctor(HwndSource source)
   at System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.ShowDialog()
   at Display_Driver_Uninstaller.Application.LaunchAsSystem() in C:\Users\Ghislain Harvey\OneDrive\Documents\Programmation\wpf\display-drivers-uninstaller\display-driver-uninstaller\Display Driver Uninstaller\Application.xaml.vb:line 697
   at Display_Driver_Uninstaller.Application.Application_Startup(Object sender, StartupEventArgs e) in C:\Users\Ghislain Harvey\OneDrive\Documents\Programmation\wpf\display-drivers-uninstaller\display-driver-uninstaller\Display Driver Uninstaller\Application.xaml.vb:line 432</StackTrace>
			</ExceptionData>
		</Error>
found that the penimc.dll is related to support tablet-computer?
anyway ... BIG thanks in advance to get the wonderful Display Driver Uninstaller up&running!!!
Hi
Seems like you are missing this windows file. All I know is that I do not invoke it directly within DDU so it must be a. Net prerequisite.
I don't think I can fix this on my side

Re: want launch -> penimc.dll

Posted: Tue Aug 15, 2017 4:52 am
by zaph
I was afraid that this is a windows related problem : /
anyway ... Thank you for your reply and trying to help!!!

Re: want launch -> penimc.dll

Posted: Tue Aug 15, 2017 7:17 am
by zaph
just in case somebody encounters the same issue with the penimc.dll, I found a solution that worked for me HERE
in short: The root cause of this problem was KB3186539, or “Microsoft .NET Framework 4.7…“.
To fix the problem, simply uninstall the patch, then re-apply it using the offline installer.

Re: want launch -> penimc.dll

Posted: Tue Aug 15, 2017 8:25 am
by Wagnard
zaph wrote: Tue Aug 15, 2017 7:17 am just in case somebody encounters the same issue with the penimc.dll, I found a solution that worked for me HERE
in short: The root cause of this problem was KB3186539, or “Microsoft .NET Framework 4.7…“.
To fix the problem, simply uninstall the patch, then re-apply it using the offline installer.
Thanks for the info!