Home › Forums › TWAIN Classic › Data Source DLL not being unloaded › Reply To: Data Source DLL not being unloaded
November 6, 2009 at 7:50 pm #25081
I figured it out. Having the DSM source code available helped immensely.
I had a programming error that caused the MSG_CLOSEDS to be directed at the DS rather than the DSM. The DSM happily passes this on to the DS, producing a successful result, but doesn’t do its post-processing — including unloading the DS’s DLL.
After groping through all the code that works around the TWAIN_32.DLL compatibility issues, I understand why the symptoms were so bizarre.