Instead of rewriting apps which depend on WSHELP32 to call the new Windows 2000+ resolver functionality, modify the WSHELP32 functions to call the Windows functionality when available. Be sure to provide for a Registry Setting which can be used to disable the use of the Windows functionality if necessary. This code should be able to be lifted from the MIT OpenAFS repository. Try to get this done for KfW 2.6