adaptations for operation on Windows, new dll created