bridge+abstractFactory for windows multi-platform support