C++ and TWAIN - DESPERATE!

Sharky Forums


Results 1 to 1 of 1

Thread: C++ and TWAIN - DESPERATE!

  1. #1
    Hammerhead Shark xDUCK's Avatar
    Join Date
    Dec 2002
    Location
    Vancouver, BC, Canada
    Posts
    2,992

    Unhappy C++ and TWAIN - DESPERATE!

    Hey everyone,

    I'm trying to write a program (VC++) to grab the current image from a TWAIN source (webcam) and supply a memory address for it (for manipulation with an image library that I have working)... And I'm going out of my mind!

    So far I have tried C++ TWAIN Wrapper and DTWAIN. NEITHER WORKS! (they won't compile properly, no matter WHAT I do).

    I am left with two options:
    1) Learn the TWAIN specification () and make my own wrapper that works!
    2) Figure out how to get the current ones working (preferably the first one, since DTWAIN has an annoying shareware popup ).

    Can somebody PLEASE post either a working VC++ project using one of these libraries, or at least some simple code that WORKS? No matter what I try I'm getting errors left and right.

    I'd be eternally in your debt!

    Thanks,
    Mike
    Last edited by xDUCK; 08-19-2004 at 09:19 PM.

    Anything's Hot Swappable if you're fast enough.

    Owner of zeroBel.com.

    [ My rig ]
    24/7: 260FSBx9.5 CPU Interface Enabled 1:1 2-2-2-11 (2.0v VDD, 3.4v Vdimm)

    NF7-S rev2.0 C1 d10 / 2500+ AQXEA SPMW "9" "27" / 256mb KHX3200 (BH-5) + 2x256mb Corsair 3200LL (also BH-5) / 80gb/7200/2mb IBM Deskstar / 80gb/7200/8mb Seagate SATA / ATI Radeon 9800 Pro 128 / 22" NEC FP2141-BK / Sennheiser HD570

    Sharky Extreme 3DMark Team


    Official member of the Big_Mac-is-generous club!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •