The release notes that accompany the new 2.0 DSM say that to install the new DSM on Win32, you just copy TWAINDSM.DLL into System32.
They don’t say to do anything else: In particular, they don’t say you need to edit and recompile your applications.
On the other hand, the TWAIN 2.0 specification does not contain the string TWAINDSM, and the TWAIN 2.0 errata don’t amend any of the specification related to loading and calling the DSM. According to the spec then, TWAIN 2.0 applications continue to load and call TWAIN_32.DLL.
Is this really correct? It’s a good trick…
I think the release notes and README files should spell this out, maybe other developers besides me are going to wonder.
Agreed. If not already in the errata / it will be added.
TWAIN 2.0 applications are expected to load the new DSM.