Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add SetConsoleCtrlHandler #32

Open
anacrolix opened this issue Dec 15, 2013 · 4 comments
Open

Please add SetConsoleCtrlHandler #32

anacrolix opened this issue Dec 15, 2013 · 4 comments

Comments

@anacrolix
Copy link

http://msdn.microsoft.com/en-us/library/windows/desktop/ms686016(v=vs.85).aspx

@xackery
Copy link

xackery commented Nov 3, 2015

This looks extremely easy to add. I can put time into it if you like, however it's a 2-year-old issue.

@anacrolix
Copy link
Author

Yes please.

@xackery
Copy link

xackery commented Nov 3, 2015

Well, I have it in and successfully registered. The challenge is, the function isn't being called properly. An event is occurring "exit status -1073741819" instead of my function.

For now I committed my example, and will look at it more later.
https://github.com/Xackery/w32/blob/master/example/setconsolectrlhandler.go

@anacrolix
Copy link
Author

That sounds like what happened when I tried to implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants