hi,Can you give me an example? 在2016年5月13日星期五 UTC+8 下午4:53:09<dtr...@gmail.com> 写道:
> Thank you a lot Egon :) > > > On Thursday, 12 May 2016 07:49:10 UTC+2, Egon wrote: >> >> On Wednesday, 11 May 2016 16:43:29 UTC+3, dtr...@gmail.com wrote: >>> >>> Dear Gophers I'm an absolute begginner in Go. I do not grasp the CGO >>> completely >>> >>> I wanted to ask about TWAIN scanning in windows. >>> >>> TWAIN has a huge .h file ( >>> http://twain.org/docs/530fe0db85f7511c51000500/twain.zip ) >>> that can be found at >>> http://twain.org/scanner-application-developers/specification-and-tools.html >>> >>> Did someone implement support of TWAIN in a Win 386 system to give some >>> help or at least to give some directions in order me >>> to start with this source code? >>> >> >> Never seen one. >> >> You won't need to convert the whole .h file, pick the minimal subset. >> >> 1. See how http://www.codeproject.com/Articles/296/A-C-Wrapper-for-TWAIN >> uses it and only convert those. >> 2. Take a look how Go can use dll files ( >> https://github.com/golang/go/wiki/WindowsDLLs) >> 3. Take a look at other bindings (should be plenty here >> https://github.com/golang/go/wiki/projects#windows) >> >> + Egon >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/2844a793-1c42-4e8d-a27c-717593ec5589n%40googlegroups.com.