I have a pointer to a COM interface and would like to take the function pointers from its virtual table and make method calls. To do this I need to make stdcall method calls. In Go how do I make a call with convention stdcall or make a call with convention stdcall in cgo?
相关问题
- Golang mongodb aggregation
- How to flatten out a nested json structure in go
- how to install private repo using glide golang
- How to convert a string to a byte array which is c
- How do I restart a COM+ application on a remote se
相关文章
- Can I run a single test in a suite?
- How to check if a request was cancelled
- Signing an F# Assembly (Strong name component)
- Is it possible to implement an interface with unex
- How to access value of first index of array in Go
- Python instrument drivers
- Embedded Interface
- How to represent an array with mixed types
See "godoc syscall Proc" for instructions on how to call stdcall functions on windows. Be warned that *Proc.Call does allocate / deallocate memory, so, if you care about efficiency, you should use correspondent syscall.Syscall/syscall.Syscall6/syscall.Syscall9/... function instead.
Alex