Similar to the problem outlined in the discussion on #8 with ASLR, the 64-bit twain-dsm also returns an invalid handle when the memory allocator is returning pointers that exceed the 32-bit maximum.
As a result, support on 64-bit is conditional on
not allocating too much memory, and
not configuring the memory allocator to work 'top down'
Similar to the problem outlined in the discussion on #8 with ASLR, the 64-bit twain-dsm also returns an invalid handle when the memory allocator is returning pointers that exceed the 32-bit maximum.
As a result, support on 64-bit is conditional on