Giter Club home page Giter Club logo

Comments (12)

dlrudie avatar dlrudie commented on September 28, 2024

Did you run it as Administrator? I haven't tested it but maybe registering a global hotkey requires Administrator (Snip requires to be run as Administrator anyway).

from snip.

denolfe avatar denolfe commented on September 28, 2024

I tried running with and without, both behave the same way. I also attempted to run in Compatibility mode for other versions of Windows, still same result.

from snip.

dlrudie avatar dlrudie commented on September 28, 2024

Added a catch for this in commit 62f9ba3. This will just provide a more detailed error that will help me figure out why it's failing to register the hotkey.

from snip.

denolfe avatar denolfe commented on September 28, 2024

I just tried 4.3.1.0. The crash was silent as it was previously.

I received the same error as above. The addition "Application Error" in the Event Viewer had the following:

Faulting application name: Snip.exe, version: 4.3.1.0, time stamp: 0x53b5d750
Faulting module name: KERNELBASE.dll, version: 6.2.9200.16451, time stamp: 0x50988aa6
Exception code: 0xe0434352
Fault offset: 0x000000000003811c
Faulting process id: 0x2230
Faulting application start time: 0x01cf99fb0902d0fd
Faulting application path: D:\Downloads\Snip\Snip.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 46d432b7-05ee-11e4-be82-bc5ff45b6705
Faulting package full name: 
Faulting package-relative application ID: 

from snip.

dlrudie avatar dlrudie commented on September 28, 2024

Can you try this for me and see if it says anything?

https://impas.se/projects/SnipTest.7z

from snip.

denolfe avatar denolfe commented on September 28, 2024

I get

Couldn't register the hotkey.
1409

It seems to keep running after that.

from snip.

dlrudie avatar dlrudie commented on September 28, 2024

1409 = ERROR_HOTKEY_ALREADY_REGISTERED

I guess something else you use has the hotkey registered already.

I'll have to see what I can do about this.

from snip.

dlrudie avatar dlrudie commented on September 28, 2024

I've prepared this for temporary use until I can add in the ability to customize hotkeys.

https://impas.se/projects/Snip-v4.4.0.1.7z

This will gracefully skip hotkeys that can't be registered because they are in use and fail for any other error.

from snip.

denolfe avatar denolfe commented on September 28, 2024

Well when you said it that way, it clicked as to what is causing the issue. I run AutoHotkey persistently, and I have a shortcut already mapped to Ctrl+Alt+M.

Your fixed version runs correctly without throwing any messages. Thanks for your time on this!

from snip.

dlrudie avatar dlrudie commented on September 28, 2024

No problem. On the OBS forums there are a quite a few people that have a problem of Snip either crashing right away or not starting at all. I have a feeling this may be the cause of it. I wouldn't have found it without your help. Thanks.

from snip.

nathanhosselton avatar nathanhosselton commented on September 28, 2024

Thought I would mention that my Snip was crashing immediately with similar Event Viewer errors as the OP and running the alternative version provided a couple of posts up works fine, so I may also be experiencing the hotkey issue even with the latest version.

from snip.

nathanhosselton avatar nathanhosselton commented on September 28, 2024

Never mind. It worked the first time I launched it but wasn't writing the text file so I restarted it and now it crashes in the same manner as the latest version. Not sure what to do. For reference, the Event Viewer logs for 5.3.1.0 are below.

Application: Snip.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Resources.MissingManifestResourceException
   at System.Resources.FileBasedResourceGroveler.GrovelForResourceSet(System.Globalization.CultureInfo, System.Collections.Generic.Dictionary`2<System.String,System.Resources.ResourceSet>, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
   at System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
   at System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean)
   at System.Resources.ResourceManager.GetString(System.String, System.Globalization.CultureInfo)
   at System.Resources.ResourceManager.GetString(System.String)
   at Winter.Snip..ctor()
   at Winter.Program.Main()
Faulting application name: Snip.exe, version: 5.3.1.0, time stamp: 0x56fc993b
Faulting module name: KERNELBASE.dll, version: 10.0.10586.306, time stamp: 0x571afb9a
Exception code: 0xe0434352
Fault offset: 0x000bdae8
Faulting process id: 0x1570
Faulting application start time: 0x01d1af8f50fb9edb
Faulting application path: C:\Users\...\Desktop\Snip.exe
Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
Report Id: 70c6271b-24b0-43cc-bd3c-ae9def23e63f
Faulting package full name: 
Faulting package-relative application ID: 

from snip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.