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

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

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
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
groupgolang-nuts @
postedMay 11, '16 at 1:43p
activeMay 13, '16 at 8:52a

2 users in discussion

Dtrehas: 2 posts Egon: 1 post



site design / logo © 2022 Grokbase