Skip to content

Instantly share code, notes, and snippets.

View slimwang's full-sized avatar

slimwang

  • Tianjin,China
View GitHub Profile
@NaniteFactory
NaniteFactory / dllmain.go
Last active March 15, 2024 16:35
An implementation example of DllMain() entrypoint with Golang. $ go build --buildmode=c-shared -o my.dll && rundll32.exe my.dll Test
package main
//#include "dllmain.h"
import "C"