周玉环 d906a41c2e first commit 2 dagen geleden
..
oleutil d906a41c2e first commit 2 dagen geleden
.travis.yml d906a41c2e first commit 2 dagen geleden
ChangeLog.md d906a41c2e first commit 2 dagen geleden
LICENSE d906a41c2e first commit 2 dagen geleden
README.md d906a41c2e first commit 2 dagen geleden
appveyor.yml d906a41c2e first commit 2 dagen geleden
com.go d906a41c2e first commit 2 dagen geleden
com_func.go d906a41c2e first commit 2 dagen geleden
connect.go d906a41c2e first commit 2 dagen geleden
constants.go d906a41c2e first commit 2 dagen geleden
error.go d906a41c2e first commit 2 dagen geleden
error_func.go d906a41c2e first commit 2 dagen geleden
error_windows.go d906a41c2e first commit 2 dagen geleden
guid.go d906a41c2e first commit 2 dagen geleden
iconnectionpoint.go d906a41c2e first commit 2 dagen geleden
iconnectionpoint_func.go d906a41c2e first commit 2 dagen geleden
iconnectionpoint_windows.go d906a41c2e first commit 2 dagen geleden
iconnectionpointcontainer.go d906a41c2e first commit 2 dagen geleden
iconnectionpointcontainer_func.go d906a41c2e first commit 2 dagen geleden
iconnectionpointcontainer_windows.go d906a41c2e first commit 2 dagen geleden
idispatch.go d906a41c2e first commit 2 dagen geleden
idispatch_func.go d906a41c2e first commit 2 dagen geleden
idispatch_windows.go d906a41c2e first commit 2 dagen geleden
ienumvariant.go d906a41c2e first commit 2 dagen geleden
ienumvariant_func.go d906a41c2e first commit 2 dagen geleden
ienumvariant_windows.go d906a41c2e first commit 2 dagen geleden
iinspectable.go d906a41c2e first commit 2 dagen geleden
iinspectable_func.go d906a41c2e first commit 2 dagen geleden
iinspectable_windows.go d906a41c2e first commit 2 dagen geleden
iprovideclassinfo.go d906a41c2e first commit 2 dagen geleden
iprovideclassinfo_func.go d906a41c2e first commit 2 dagen geleden
iprovideclassinfo_windows.go d906a41c2e first commit 2 dagen geleden
itypeinfo.go d906a41c2e first commit 2 dagen geleden
itypeinfo_func.go d906a41c2e first commit 2 dagen geleden
itypeinfo_windows.go d906a41c2e first commit 2 dagen geleden
iunknown.go d906a41c2e first commit 2 dagen geleden
iunknown_func.go d906a41c2e first commit 2 dagen geleden
iunknown_windows.go d906a41c2e first commit 2 dagen geleden
ole.go d906a41c2e first commit 2 dagen geleden
safearray.go d906a41c2e first commit 2 dagen geleden
safearray_func.go d906a41c2e first commit 2 dagen geleden
safearray_windows.go d906a41c2e first commit 2 dagen geleden
safearrayconversion.go d906a41c2e first commit 2 dagen geleden
safearrayslices.go d906a41c2e first commit 2 dagen geleden
utility.go d906a41c2e first commit 2 dagen geleden
variables.go d906a41c2e first commit 2 dagen geleden
variant.go d906a41c2e first commit 2 dagen geleden
variant_386.go d906a41c2e first commit 2 dagen geleden
variant_amd64.go d906a41c2e first commit 2 dagen geleden
variant_arm.go d906a41c2e first commit 2 dagen geleden
variant_arm64.go d906a41c2e first commit 2 dagen geleden
variant_date_386.go d906a41c2e first commit 2 dagen geleden
variant_date_amd64.go d906a41c2e first commit 2 dagen geleden
variant_date_arm.go d906a41c2e first commit 2 dagen geleden
variant_date_arm64.go d906a41c2e first commit 2 dagen geleden
variant_ppc64le.go d906a41c2e first commit 2 dagen geleden
variant_s390x.go d906a41c2e first commit 2 dagen geleden
vt_string.go d906a41c2e first commit 2 dagen geleden
winrt.go d906a41c2e first commit 2 dagen geleden
winrt_doc.go d906a41c2e first commit 2 dagen geleden

README.md

Go OLE

Build status Build Status GoDoc

Go bindings for Windows COM using shared libraries instead of cgo.

By Yasuhiro Matsumoto.

Install

To experiment with go-ole, you can just compile and run the example program:

go get github.com/go-ole/go-ole
cd /path/to/go-ole/
go test

cd /path/to/go-ole/example/excel
go run excel.go

Continuous Integration

Continuous integration configuration has been added for both Travis-CI and AppVeyor. You will have to add these to your own account for your fork in order for it to run.

Travis-CI

Travis-CI was added to check builds on Linux to ensure that go get works when cross building. Currently, Travis-CI is not used to test cross-building, but this may be changed in the future. It is also not currently possible to test the library on Linux, since COM API is specific to Windows and it is not currently possible to run a COM server on Linux or even connect to a remote COM server.

AppVeyor

AppVeyor is used to build on Windows using the (in-development) test COM server. It is currently only used to test the build and ensure that the code works on Windows. It will be used to register a COM server and then run the test cases based on the test COM server.

The tests currently do run and do pass and this should be maintained with commits.

Versioning

Go OLE uses semantic versioning for version numbers, which is similar to the version contract of the Go language. Which means that the major version will always maintain backwards compatibility with minor versions. Minor versions will only add new additions and changes. Fixes will always be in patch.

This contract should allow you to upgrade to new minor and patch versions without breakage or modifications to your existing code. Leave a ticket, if there is breakage, so that it could be fixed.

LICENSE

Under the MIT License: http://mattn.mit-license.org/2013