>As 8.36 works (or did) I shall probably return to that version. There have been various reports of problems with MPLAB 8.40 on W7, on the Microchip forum. Most of them seem to be sorted by going back to 8.36. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist