Thanks so much! Btw (face-palm) Dave, I know dir(), I probably should have used it here, I just read that the return type was a c_long, and I didn't know that LP_c_long was a pointer. Thanks to you both!