https://play.golang.org/p/MLxY6yh2bQn
Hi,
Yes, as you can see, struct works and C.myBeepHook(dllmain.h), but unfortunately the C functions(easyhook.h) don't. if I don't call the C functions(easyhook.h) are compiled normally (few second). It is compiled quickly (60 ms) if I call the C functions(easyhook.h). It's weird and I don't get any output when I run it, but when I open it in gui it throws an error like "the code execution cannot proceed because EasyHook64.dll" but not relevant.
Where am i making a mistake? What do you think is the problem?
Thank you so much.
Is there a preview mode in google groups? Because I can't preview this post, sorry.
Yes, as you can see,
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/3cf3879b-9164-46c7-872d-044c027eab3f%40googlegroups.com.
And sorry for me missing the playground link completely. I'm becoming gradually lost without my glasses. Apologies.
On Sun, Dec 22, 2019, 17:24 Ahmet Tarık GUNAL <gahme...@gmail.com> wrote:
--https://play.golang.org/p/MLxY6yh2bQn
Hi,
Yes, as you can see, struct works and C.myBeepHook(dllmain.h), but unfortunately the C functions(easyhook.h) don't. if I don't call the C functions(easyhook.h) are compiled normally (few second). It is compiled quickly (60 ms) if I call the C functions(easyhook.h). It's weird and I don't get any output when I run it, but when I open it in gui it throws an error like "the code execution cannot proceed because EasyHook64.dll" but not relevant.
Where am i making a mistake? What do you think is the problem?
Thank you so much.
Is there a preview mode in google groups? Because I can't preview this post, sorry.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golan...@googlegroups.com.
That's the error.
It is relevant.
Make sure it is in the same directory with your exe, or in %PATH%, or wherever kernel.dll finds it.