Adobe AIR Native Extension TWAIN Image Scanner
问题 Currently I am working on Adobe AIR Native extension which gives possibilities to simple manipulate image scanner using TWAIN. I use CTwain class found at http://www.codeproject.com/Articles/296/A-C-Wrapper-for-TWAIN When i use this class in Windows Application (.exe) it works as expected, but in dll (which i need to create ane file) it crashes when Twain Device UI is closing (when scan complete or by clicking Cancel button) I thing the problem is somewhere in DllMain.cpp file (possibly