Hi, Is there any way to get ctypes to work in pythonCE 2.4 or alternatively. win32gui because i need functions GetForegroundWindow FindWindow etc. and this dll is for some reasons missing from 2.5 -Petri -- I love deadlines. I love the whooshing sound they make as they go by. - Douglas Adams