[GH-ISSUE #846] filenotfound - 2.28.2 #666

Open
opened 2026-02-26 09:32:14 +03:00 by kerem · 7 comments
Owner

Originally created by @joekingTheThird3 on GitHub (Apr 26, 2021).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/846

win 7 64bit

at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at System.Windows.Window.ApplyTaskbarItemInfo()
at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)

mscorlib.CreateInstance

Originally created by @joekingTheThird3 on GitHub (Apr 26, 2021). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/846 win 7 64bit at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at System.Windows.Window.ApplyTaskbarItemInfo() at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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) mscorlib.CreateInstance
Author
Owner

@joekingTheThird3 commented on GitHub (Apr 26, 2021):

I look log - log say Unable to load DLL 'Shcore.dll' . win 7 no dll. No possible load shcore.dll on win 7? copy dll to C:\Windows\System32 . still crash - unhandled exception. clsid 56fdf344-fd6d-11d0-958a-0060 .......

<!-- gh-comment-id:826661696 --> @joekingTheThird3 commented on GitHub (Apr 26, 2021): I look log - log say Unable to load DLL 'Shcore.dll' . win 7 no dll. No possible load shcore.dll on win 7? copy dll to C:\Windows\System32 . still crash - unhandled exception. clsid 56fdf344-fd6d-11d0-958a-0060 .......
Author
Owner

@joekingTheThird3 commented on GitHub (Apr 26, 2021):

I used the portable edition.

<!-- gh-comment-id:826707520 --> @joekingTheThird3 commented on GitHub (Apr 26, 2021): I used the portable edition.
Author
Owner

@NickeManarin commented on GitHub (Apr 29, 2021):

Are you getting a warning on screen or is this just from the log file?

Jus to check, are you using Win 7 SP1?

<!-- gh-comment-id:828854873 --> @NickeManarin commented on GitHub (Apr 29, 2021): Are you getting a warning on screen or is this just from the log file? Jus to check, are you using Win 7 SP1?
Author
Owner

@joekingTheThird3 commented on GitHub (May 3, 2021):

Ok, let's enter dll hell. So, I installed Shcore.dll, then I get loader error. I install the 64 bit version of the VC_redist.x64.exe - c++ redistributable 64 bit. I must of had the 32bit before. Now I rename shcore.dll to eliminate it from loading and now there are no errors. I assume I had a 32bit version of the c++ redistributable before.

<!-- gh-comment-id:831103654 --> @joekingTheThird3 commented on GitHub (May 3, 2021): Ok, let's enter dll hell. So, I installed Shcore.dll, then I get loader error. I install the 64 bit version of the VC_redist.x64.exe - c++ redistributable 64 bit. I must of had the 32bit before. Now I rename shcore.dll to eliminate it from loading and now there are no errors. I assume I had a 32bit version of the c++ redistributable before.
Author
Owner

@joekingTheThird3 commented on GitHub (May 3, 2021):

Ok, after installing the update 2.29, I get no error on prog load but when I go to editor then I seem to be getting the same error from previous. Seems like app is trying to access dll not on win 7.
Screenshot - 03_05_2021 , 09_22_13
Screenshot - 03_05_2021 , 09_21_57

<!-- gh-comment-id:831107246 --> @joekingTheThird3 commented on GitHub (May 3, 2021): Ok, after installing the update 2.29, I get no error on prog load but when I go to editor then I seem to be getting the same error from previous. Seems like app is trying to access dll not on win 7. ![Screenshot - 03_05_2021 , 09_22_13](https://user-images.githubusercontent.com/47086018/116855535-75fe4c00-abf1-11eb-9309-f111908ca9dd.png) ![Screenshot - 03_05_2021 , 09_21_57](https://user-images.githubusercontent.com/47086018/116855537-7696e280-abf1-11eb-9547-32318ceeb47b.png)
Author
Owner

@joekingTheThird3 commented on GitHub (May 3, 2021):

Screenshot - 03_05_2021 , 09_26_51

<!-- gh-comment-id:831108209 --> @joekingTheThird3 commented on GitHub (May 3, 2021): ![Screenshot - 03_05_2021 , 09_26_51](https://user-images.githubusercontent.com/47086018/116855701-b9f15100-abf1-11eb-82b2-eeeb916847d8.png)
Author
Owner

@rddim commented on GitHub (Nov 2, 2021):

Hello,
I have the same issue with missing SHCore.dll on W7 x64. I have installed M$ .Net Framework 4.8, M$ VC 2015-2019 redist x64 and x86, but the issue is fixed when I install the KB4019990.

I found this:
To function properly, .NET 4.8/4.7.2 require D3DCompiler_47.dll component, which is found in either the current "Monthly Quality Rollup" or "update KB4019990"

<!-- gh-comment-id:958041354 --> @rddim commented on GitHub (Nov 2, 2021): Hello, I have the same issue with missing `SHCore.dll` on W7 x64. I have installed `M$ .Net Framework 4.8`, `M$ VC 2015-2019 redist` x64 and x86, but the issue is fixed when I install the `KB4019990`. I found this: `To function properly, .NET 4.8/4.7.2 require D3DCompiler_47.dll component, which is found in either the current "Monthly Quality Rollup" or "update KB4019990"`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#666
No description provided.