douzhu3654 2018-05-07 16:55
浏览 142

Golang和组件对象模型

in python I can do something along these lines:

import win32com.client

clsid = '{9BA05972-F6A8-11CF-A442-00A0C90A8F39}'
windows = win32com.client.Dispatch(clsid)

or

import win32com.client
xl = win32com.client.Dispatch("Excel.Application")   

The above codes hook into IE throught the COM interface which let me automate many tasks. I would especially like to read the oppened tab's URLs.

How would one go about interacting with a DLL based on a given CLSID in Go? I have been looking around for some clear examples on this but I haven't really found anything useful.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 高德地图点聚合中Marker的位置无法实时更新
    • ¥15 DIFY API Endpoint 问题。
    • ¥20 sub地址DHCP问题
    • ¥15 delta降尺度计算的一些细节,有偿
    • ¥15 Arduino红外遥控代码有问题
    • ¥15 数值计算离散正交多项式
    • ¥30 数值计算均差系数编程
    • ¥15 redis-full-check比较 两个集群的数据出错
    • ¥15 Matlab编程问题
    • ¥15 训练的多模态特征融合模型准确度很低怎么办