So really it does affect the EV's because the Pokemon with Exp. Share, even though never participating in battle themselves, still receives Exp? I feel like you were saying two different ideas in your post. Could you explain?
Feel the pain of those inferior beings, as you burn in hell! -Kratos, Tales of Symphonia
I feel like I need to explain this using a flow chart or something, even though it's not that difficult. I'll use an example though. Copy and paste the below link into a different internet window so you cna follow along:
Look where it says "Effort Values Awarded" and you will find that 3 EVs in attack are awarded when Shiftry is defeated.
EVs are rewarded when receiving experience. A Pokemon holding the Macho Brace will gain 2x the EVs (ie: 6), and ALL OTHER POKEMON receiving experience, regardless of whether this is obtained through EXP share/battling/both, will obtain the base (3) EVs.
Life is just a series of problems that make you wish you were dead until you are!