twain / twain-dsm

TWAIN Data Source Manager
140 stars 55 forks source link

64-bit not fully supported #29

Open zaneduffield opened 2 months ago

zaneduffield commented 2 months ago

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

  1. not allocating too much memory, and
  2. not configuring the memory allocator to work 'top down'