require win32api and create listener