mjwhitta / goDLL

Simple example of creating a DLL using Go and MinGW.
2 stars 1 forks source link

How to write a COM DLL? #1

Open edwinhuish opened 3 months ago

edwinhuish commented 3 months ago

as title

mjwhitta commented 3 months ago

I have little to no experience with COM objects, but I'd recommend starting with go-ole and this stackoverflow question. I imagine, if you figure out how to interact with COM objects, you can use this repo as a guide to build a DLL.

edwinhuish commented 3 months ago

I was success calling com function using go-ole, but it's no luck for the event.

Anyway, thank you for you advise.