Basically I want to make a DLL in Go that works with, obviously Go code but can be executed by calling the DllMain function (e.g. "rundll32.exe main.dll DllMain"). Strangely I didn't find any solution to this. The only answer I found to this problem seems to be this post (How to implement DllMain entry point in Go) but it doesn't seem to me to be the right one to my problem. It is impossible that Go, being a compiled language like C++ can compile DLLs but with the exception of not being able to call the DllMain entry point. It seems strange to me.
Asked
Active
Viewed 246 times