Personally I never use ADCIN (not a fan of any of those kinds of Compiler commands) always setting the registers myself because then I know what's going on (having been bitten in the past by the strange way some compiler authors go about implimenting things)... but I'll try the permutations later in the day and let you know.

The trouble is thre is NO CONSISTENCY in the way people write programs. Contrary to popular belief, there are RULES to programming. Things get done a certain way in a certain sequence. Then along comes a high-level compiler that claims to do some of it for you... but I've noticed it DOESN'T always happen consistently across all PICs accross all compiler versions. So I've ALWAYS predefined all the I/O environment as one of the first things that I do as soon as my code starts running. As a consequence, I don't ever experience the majority of anomalies and problems that people post on the support forum.