Forum Replies Created
- AuthorPosts
Is there any information about planned updates of TWAIN DSM regarding the problem with Windows 7 and “legacy” data sources?
I appreciate if anybody can answer.We found that in Windows 7 implementation of major functions is moved from “kermel32.dll” to “kernelbase.dll”. Thus it’s “kernelbase.dll” which calls “LdrGetProcedureAddress” from ntdll.dll. For more details see http://www.nirsoft.net/articles/windows_7_kernel_architecture_changes.html
So on Windows 7 DSM should hook “kernelbase.dll” instead of “kermel32.dll”.
In our tests following fix of hook.cpp [CTwHook::Hook(), line #360] resolved the issue:
//hmodule = GetModuleHandle(“kernel32.dll”);
hmodule = GetModuleHandle(“kernelbase.dll”); //Windows 7Of course, regular DSM needs a little bit more complex code to distinguish Windows 7 case, etc..
Hope that above information will help to fix and release next verison of DSM soon.
What is your test OS and what DS are you testing with?
We noted a problem with TWAIN 2.0 applications and DS v. 1.9 on Windows 7 (described on this forum).- AuthorPosts