Well my setup is quite simple. I have wired lan coming into my computer and then I have an ad-hoc connection. All you have to do in windows is make a wireless connection and select 'share my internet connection with this...' (something along those lines) in the settings.
very basic, no adding static ip addresses or anything, all automatic.
It's very much the same in osx.