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

Remove all C requirements #2

Closed
wants to merge 7 commits into from
Closed

Remove all C requirements #2

wants to merge 7 commits into from

Conversation

actgardner
Copy link
Contributor

This is basically a rewrite that replaces all the cgo code with calls into DLLs, which are more idiomatic. In a perfect world we wouldn't even need mingw to build, but this issue requires cgo to be imported for the DLL callbacks to work.

@krjackso
Copy link

Any chance of getting this merged? I am interested in using this library to read from the windows event log but I get panics from the casts in the C code on go 1.8.

@actgardner
Copy link
Contributor Author

@krjackso I've made a fork that's up-to-date and has the DLL change here: https://github.com/alanctgardner/gowinlog

Unfortunately I haven't got a Windows environment to test it right now. If you try it let me know if you see any bugs.

@krjackso
Copy link

krjackso commented Nov 1, 2017

@alanctgardner Thanks for setting that up, I've got a fork of your code that I'm now trying to test on. Should be able to get it working some time in the next day or two. There were a few compile issues on 386 but nothing insurmountable :)

@actgardner actgardner closed this Aug 24, 2018
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

Successfully merging this pull request may close these issues.

2 participants